Package com.axelor.meta.db
Class MetaWorkflowBranch
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflowBranch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhat the walk read as agent, task and error when it parked, as JSON.The node the branch is at now.getFlow()The split's flow this branch came from.getId()The join the branch is heading for.Custom model name of the element; null for a real entity.When the lease was taken or renewed, in database time.Node holding the lease; null when unleased.Token of the current lease; continuing the branch requires it.getModel()Entity class of the subflow element; null for the run's record.The park the branch is waiting on.Id of the subflow element; null for the run's record.getRun()getSplit()The activation this branch belongs to; null for the run's own position.The node the branch started at.The subflow whose body the branch walks; null for the main graph.getVars()The subflow thread's own variables, as JSON.When the branch's timer is due.inthashCode()voidsetBindings(String bindings) voidsetCurrentNode(String currentNode) voidvoidvoidsetJoinNode(String joinNode) voidsetJsonModel(String jsonModel) voidsetLeasedAt(LocalDateTime leasedAt) voidsetLeaseOwner(String leaseOwner) voidsetLeaseToken(String leaseToken) voidvoidsetParkKey(String parkKey) voidsetRecordId(Long recordId) voidsetRun(MetaWorkflowRun run) voidsetSplit(MetaWorkflowSplit split) voidsetStartNode(String startNode) voidsetStatus(WorkflowBranchStatus status) voidsetSubflow(String subflow) voidvoidsetWakeAt(LocalDateTime wakeAt) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods inherited from class com.axelor.db.Model
getArchived, getCid, getImportId, getVersion, isSelected, setArchived, setCid, setImportId, setSelected, setVersion
-
Constructor Details
-
MetaWorkflowBranch
public MetaWorkflowBranch()
-
-
Method Details
-
getId
-
setId
-
getRun
-
setRun
-
getSplit
The activation this branch belongs to; null for the run's own position.- Returns:
- the property value
-
setSplit
-
getFlow
The split's flow this branch came from.- Returns:
- the property value
-
setFlow
-
getStartNode
The node the branch started at.- Returns:
- the property value
-
setStartNode
-
getCurrentNode
The node the branch is at now.- Returns:
- the property value
-
setCurrentNode
-
getJoinNode
The join the branch is heading for.- Returns:
- the property value
-
setJoinNode
-
getSubflow
The subflow whose body the branch walks; null for the main graph.- Returns:
- the property value
-
setSubflow
-
getStatus
-
setStatus
-
getWakeAt
When the branch's timer is due.- Returns:
- the property value
-
setWakeAt
-
getParkKey
The park the branch is waiting on.- Returns:
- the property value
-
setParkKey
-
getModel
Entity class of the subflow element; null for the run's record.- Returns:
- the property value
-
setModel
-
getJsonModel
Custom model name of the element; null for a real entity.- Returns:
- the property value
-
setJsonModel
-
getRecordId
Id of the subflow element; null for the run's record.- Returns:
- the property value
-
setRecordId
-
getVars
The subflow thread's own variables, as JSON.- Returns:
- the property value
-
setVars
-
getBindings
What the walk read as agent, task and error when it parked, as JSON.- Returns:
- the property value
-
setBindings
-
getLeaseOwner
Node holding the lease; null when unleased.- Returns:
- the property value
-
setLeaseOwner
-
getLeaseToken
Token of the current lease; continuing the branch requires it.- Returns:
- the property value
-
setLeaseToken
-
getLeasedAt
When the lease was taken or renewed, in database time.- Returns:
- the property value
-
setLeasedAt
-
equals
-
hashCode
public int hashCode() -
toString
-