Package com.axelor.meta.db
Class MetaWorkflowNodeRun
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflowNodeRun
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe branch the visit belonged to; null outside a split or subflow.The boundary that ended the wait or caught the failure; null when the node's own trigger did.getId()Where an operator moved the run from here, as revision:node; null when not moved.getNode()The node's title when it ran.The node's element name, e.g.getPark()The park this visit opened; null once it is closed or when it never waited.Time spent waiting, in milliseconds.getRun()getSeq()Order of the visit within the run, from 1.The subflow whose body the node is in; null for the main graph.getTaken()A split's visit: the ids of the flows it took, comma-separated, as it decided them.getTask()The task this visit opened.getVisit()Which pass over this node it was, from 1.Time spent executing, in milliseconds.inthashCode()voidsetBranch(MetaWorkflowBranch branch) voidsetEndedAt(LocalDateTime endedAt) voidsetEpisode(Long episode) voidsetErrorMessage(String errorMessage) voidsetExitVia(String exitVia) voidvoidsetMovedBy(User movedBy) voidsetMovedTo(String movedTo) voidvoidsetNodeTitle(String nodeTitle) voidsetNodeType(String nodeType) voidsetPark(MetaWorkflowPark park) voidsetParkedMs(Long parkedMs) voidsetResumedAt(LocalDateTime resumedAt) voidsetRun(MetaWorkflowRun run) voidvoidsetStartedAt(LocalDateTime startedAt) voidsetStatus(WorkflowNodeRunStatus status) voidsetSubflow(String subflow) voidvoidsetTask(MetaWorkflowTask task) voidvoidtoString()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
-
MetaWorkflowNodeRun
public MetaWorkflowNodeRun()
-
-
Method Details
-
getId
-
setId
-
getRun
-
setRun
-
getNode
-
setNode
-
getSubflow
The subflow whose body the node is in; null for the main graph.- Returns:
- the property value
-
setSubflow
-
getNodeType
The node's element name, e.g. task or split.- Returns:
- the property value
-
setNodeType
-
getNodeTitle
The node's title when it ran.- Returns:
- the property value
-
setNodeTitle
-
getSeq
Order of the visit within the run, from 1.- Returns:
- the property value
-
setSeq
-
getVisit
Which pass over this node it was, from 1.- Returns:
- the property value
-
setVisit
-
getEpisode
-
setEpisode
-
getStartedAt
-
setStartedAt
-
getEndedAt
-
setEndedAt
-
getWorkMs
Time spent executing, in milliseconds.- Returns:
- the property value
-
setWorkMs
-
getResumedAt
-
setResumedAt
-
getParkedMs
Time spent waiting, in milliseconds.- Returns:
- the property value
-
setParkedMs
-
getPark
The park this visit opened; null once it is closed or when it never waited.- Returns:
- the property value
-
setPark
-
getStatus
-
setStatus
-
getExitVia
The boundary that ended the wait or caught the failure; null when the node's own trigger did.- Returns:
- the property value
-
setExitVia
-
getTaken
A split's visit: the ids of the flows it took, comma-separated, as it decided them.- Returns:
- the property value
-
setTaken
-
getErrorMessage
-
setErrorMessage
-
getMovedTo
Where an operator moved the run from here, as revision:node; null when not moved.- Returns:
- the property value
-
setMovedTo
-
getMovedBy
-
setMovedBy
-
getTask
The task this visit opened.- Returns:
- the property value
-
setTask
-
getBranch
The branch the visit belonged to; null outside a split or subflow.- Returns:
- the property value
-
setBranch
-
equals
-
hashCode
public int hashCode() -
toString
-