public interface FlowNodeExecutor extends ContainerExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
archiveFlowNodeInstance(SFlowNodeInstance flowNodeInstance,
boolean deleteAfterArchive,
long processDefinitionId)
Archive the flow node instance given as parameter.
|
void |
childReachedState(SProcessInstance childProcInst,
ProcessInstanceState childState,
boolean hasActionsToExecute) |
StateCode |
executeState(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance,
FlowNodeState state) |
void |
setStateByStateId(long flowNodeInstanceId,
int stateId)
force the state of a flow node toa particular state
|
FlowNodeState |
stepForward(long flowNodeInstanceId,
Long executerId,
Long executerSubstituteId) |
childFinished, executeFlowNode, getHandledTypeFlowNodeState stepForward(long flowNodeInstanceId, Long executerId, Long executerSubstituteId) throws SFlowNodeExecutionException
flowNodeInstanceId - executerId - executerSubstituteId - SFlowNodeExecutionExceptionvoid setStateByStateId(long flowNodeInstanceId,
int stateId)
throws SActivityStateExecutionException
flowNodeInstanceId - stateId - SActivityStateExecutionExceptionvoid childReachedState(SProcessInstance childProcInst, ProcessInstanceState childState, boolean hasActionsToExecute) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
childProcInst - childState - hasActionsToExecute - org.bonitasoft.engine.commons.exceptions.SBonitaExceptionvoid archiveFlowNodeInstance(SFlowNodeInstance flowNodeInstance, boolean deleteAfterArchive, long processDefinitionId) throws SArchivingException
flowNodeInstance - The flow node instance to be archived.deleteAfterArchive - processDefinitionId - the identifier of process definitionSActivityExecutionException - in case an error occursSArchivingExceptionStateCode executeState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance, FlowNodeState state) throws SActivityStateExecutionException, SActivityExecutionException
processDefinition - the process definition of the SFlowNodeInstance on which to execute the state.flowNodeInstance - the SFlowNodeInstance whose state has to be executedstate - the FlowNodeState to executeFlowNodeState, after executing current stateSActivityStateExecutionException - if an exception occurs when executing current stateSActivityExecutionException - if an exception occurs when retrieving next stateCopyright © 2018 Bonitasoft S.A.. All rights reserved.