Class MetaWorkflowBranch


@Entity public class MetaWorkflowBranch extends AuditableModel
  • Constructor Details

    • MetaWorkflowBranch

      public MetaWorkflowBranch()
  • 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)
    • getSplit

      public MetaWorkflowSplit getSplit()
      The activation this branch belongs to; null for the run's own position.
      Returns:
      the property value
    • setSplit

      public void setSplit(MetaWorkflowSplit split)
    • getFlow

      public String getFlow()
      The split's flow this branch came from.
      Returns:
      the property value
    • setFlow

      public void setFlow(String flow)
    • getStartNode

      public String getStartNode()
      The node the branch started at.
      Returns:
      the property value
    • setStartNode

      public void setStartNode(String startNode)
    • getCurrentNode

      public String getCurrentNode()
      The node the branch is at now.
      Returns:
      the property value
    • setCurrentNode

      public void setCurrentNode(String currentNode)
    • getJoinNode

      public String getJoinNode()
      The join the branch is heading for.
      Returns:
      the property value
    • setJoinNode

      public void setJoinNode(String joinNode)
    • getSubflow

      public String getSubflow()
      The subflow whose body the branch walks; null for the main graph.
      Returns:
      the property value
    • setSubflow

      public void setSubflow(String subflow)
    • getStatus

      public WorkflowBranchStatus getStatus()
    • setStatus

      public void setStatus(WorkflowBranchStatus status)
    • getWakeAt

      public LocalDateTime getWakeAt()
      When the branch's timer is due.
      Returns:
      the property value
    • setWakeAt

      public void setWakeAt(LocalDateTime wakeAt)
    • getParkKey

      public String getParkKey()
      The park the branch is waiting on.
      Returns:
      the property value
    • setParkKey

      public void setParkKey(String parkKey)
    • getModel

      public String getModel()
      Entity class of the subflow element; null for the run's record.
      Returns:
      the property value
    • setModel

      public void setModel(String model)
    • getJsonModel

      public String getJsonModel()
      Custom model name of the element; null for a real entity.
      Returns:
      the property value
    • setJsonModel

      public void setJsonModel(String jsonModel)
    • getRecordId

      public Long getRecordId()
      Id of the subflow element; null for the run's record.
      Returns:
      the property value
    • setRecordId

      public void setRecordId(Long recordId)
    • getVars

      public String getVars()
      The subflow thread's own variables, as JSON.
      Returns:
      the property value
    • setVars

      public void setVars(String vars)
    • getBindings

      public String getBindings()
      What the walk read as agent, task and error when it parked, as JSON.
      Returns:
      the property value
    • setBindings

      public void setBindings(String bindings)
    • 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; continuing the branch 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