Package org.bonitasoft.engine.execution
Interface ContainerExecutor
-
- All Known Subinterfaces:
FlowNodeExecutor,ProcessExecutor
- All Known Implementing Classes:
FlowNodeExecutorImpl,ProcessExecutorImpl
public interface ContainerExecutor- Author:
- Baptiste Mesta, Celine Souchet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchildFinished(long processDefinitionId, long parentId, SFlowNodeInstance childFlowNode)Method called to notify this container executor that a child reached the given stateFlowNodeStateexecuteFlowNode(SFlowNodeInstance flowNodeInstance, java.lang.Long executerId, java.lang.Long executerSubstituteId)Execute a flow node in the context of this container executorjava.lang.StringgetHandledType()
-
-
-
Method Detail
-
childFinished
void childFinished(long processDefinitionId, long parentId, SFlowNodeInstance childFlowNode) throws SBonitaExceptionMethod called to notify this container executor that a child reached the given state- Parameters:
processDefinitionId- The identifier of the process definitionparentId- The identifier of the parent of the flow nodechildFlowNode-- Throws:
SBonitaException
-
executeFlowNode
FlowNodeState executeFlowNode(SFlowNodeInstance flowNodeInstance, java.lang.Long executerId, java.lang.Long executerSubstituteId) throws SFlowNodeReadException, SFlowNodeExecutionException
Execute a flow node in the context of this container executor- Parameters:
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 node- Returns:
- The new state of the flow node after execution
- Throws:
SFlowNodeReadExceptionSFlowNodeExecutionException- Throw if there is an error when execute the flow node
-
getHandledType
java.lang.String getHandledType()
- Returns:
- The handled type
-
-