Class MetaWorkflowSplit


@Entity public class MetaWorkflowSplit extends AuditableModel
  • Constructor Details

    • MetaWorkflowSplit

      public MetaWorkflowSplit()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in class Model
    • setId

      public void setId(Long id)
      Specified by:
      setId in class Model
    • getRun

      public MetaWorkflowRun getRun()
    • setRun

      public void setRun(MetaWorkflowRun run)
    • getParentBranch

      public MetaWorkflowBranch getParentBranch()
      The branch this activation is nested in; null at the top level.
      Returns:
      the property value
    • setParentBranch

      public void setParentBranch(MetaWorkflowBranch parentBranch)
    • getSplitNode

      public String getSplitNode()
    • setSplitNode

      public void setSplitNode(String splitNode)
    • getJoinNode

      public String getJoinNode()
      The join its branches meet at; null when they never meet.
      Returns:
      the property value
    • setJoinNode

      public void setJoinNode(String joinNode)
    • getStatus

      public WorkflowSplitStatus getStatus()
    • setStatus

      public void setStatus(WorkflowSplitStatus status)
    • getParkKey

      public String getParkKey()
      The park watching a subflow's whole region; null otherwise.
      Returns:
      the property value
    • setParkKey

      public void setParkKey(String parkKey)
    • getOutstanding

      public Integer getOutstanding()
      Branches still to report.
      Returns:
      the property value
    • setOutstanding

      public void setOutstanding(Integer outstanding)
    • getArrived

      public Integer getArrived()
      Branches that reached the join.
      Returns:
      the property value
    • setArrived

      public void setArrived(Integer arrived)
    • getWait

      public WorkflowJoinWait getWait()
      The join's completion policy.
      Returns:
      the property value
    • setWait

      public void setWait(WorkflowJoinWait wait)
    • getQuorum

      public Integer getQuorum()
      Arrivals needed; null unless wait is quorum.
      Returns:
      the property value
    • setQuorum

      public void setQuorum(Integer quorum)
    • getActivated

      public Integer getActivated()
      Branches the split started.
      Returns:
      the property value
    • setActivated

      public void setActivated(Integer activated)
    • getEnded

      public Integer getEnded()
      Branches that ended before the join.
      Returns:
      the property value
    • setEnded

      public void setEnded(Integer ended)
    • getDecision

      public WorkflowJoinDecision getDecision()
      What the join decided; null until then.
      Returns:
      the property value
    • setDecision

      public void setDecision(WorkflowJoinDecision decision)
    • getWinners

      public String getWinners()
      Ids of the branches that met the quorum, comma-separated.
      Returns:
      the property value
    • setWinners

      public void setWinners(String winners)
    • getLeaseOwner

      public String getLeaseOwner()
      Node holding the lease; null when unleased.
      Returns:
      the property value
    • setLeaseOwner

      public void setLeaseOwner(String leaseOwner)
    • getLeaseToken

      public String getLeaseToken()
      Token of the current lease; finishing the join requires it.
      Returns:
      the property value
    • setLeaseToken

      public void setLeaseToken(String leaseToken)
    • getLeasedAt

      public LocalDateTime getLeasedAt()
      When the lease was taken or renewed, in database time.
      Returns:
      the property value
    • setLeasedAt

      public void setLeasedAt(LocalDateTime leasedAt)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object