Class SFlowNodeInstance
java.lang.Object
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance
- All Implemented Interfaces:
Serializable,PersistentObject
- Direct Known Subclasses:
SActivityInstance,SEventInstance,SGatewayInstance
- Author:
- Feng Hui, Baptiste Mesta, Elias Ricken de Medeiros, Celine Souchet
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSFlowNodeInstance(String name, long flowNodeDefinitionId, long rootContainerId, long parentContainerId, long logicalGroup1, long logicalGroup2) -
Method Summary
Modifier and TypeMethodDescriptionlonggetLogicalGroup(int index) longlonglonglongabstract SFlowNodeTypegetType()booleanbooleanbooleanvoidsetLogicalGroup(int index, long value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.persistence.PersistentObject
getId, setId
-
Field Details
-
loopCounter
protected int loopCounter
-
-
Constructor Details
-
SFlowNodeInstance
public SFlowNodeInstance(String name, long flowNodeDefinitionId, long rootContainerId, long parentContainerId, long logicalGroup1, long logicalGroup2)
-
-
Method Details
-
getProcessDefinitionId
public long getProcessDefinitionId() -
getRootProcessInstanceId
public long getRootProcessInstanceId()- Returns:
- the root process instance is the top level process containing this element
-
getParentActivityInstanceId
public long getParentActivityInstanceId()- Returns:
- the id of the activity instance containing this element or 0 if this element is not contained in an activity
-
getParentProcessInstanceId
public long getParentProcessInstanceId()- Returns:
- the id of the process instance containing this element
-
getParentContainerType
- Returns:
- the type of the element that contains this element
-
getLogicalGroup
public long getLogicalGroup(int index) -
isAborting
public boolean isAborting() -
isCanceling
public boolean isCanceling() -
setLogicalGroup
public void setLogicalGroup(int index, long value) -
getContainerType
-
mustExecuteOnAbortOrCancelProcess
public boolean mustExecuteOnAbortOrCancelProcess()- Returns:
- true if the execution must continues automatically on abort or cancel the parent process instance
-
getType
-