public interface ContainerExecutor
Modifier and Type | Method and Description |
---|---|
void |
childFinished(long processDefinitionId,
long parentId,
SFlowNodeInstance flowNodeInstance)
Method called to notify this container executor that a child reached the given state
|
FlowNodeState |
executeFlowNode(SFlowNodeInstance flowNodeInstance,
java.lang.Long executerId,
java.lang.Long executerSubstituteId)
Execute a flow node in the context of this container executor
|
java.lang.String |
getHandledType() |
void childFinished(long processDefinitionId, long parentId, SFlowNodeInstance flowNodeInstance) throws SBonitaException
processDefinitionId
- The identifier of the process definitionparentId
- The identifier of the parent of the flow nodeflowNodeInstance
- SBonitaException
FlowNodeState executeFlowNode(SFlowNodeInstance flowNodeInstance, java.lang.Long executerId, java.lang.Long executerSubstituteId) throws SFlowNodeReadException, SFlowNodeExecutionException
flowNodeInstance
- The flow node instanceexecuterId
- The identifier of the user which execute the flow nodeexecuterSubstituteId
- The identifier of the delegated user which execute the flow nodeSFlowNodeReadException
SFlowNodeExecutionException
- Throw if there is an error when execute the flow nodejava.lang.String getHandledType()