public interface FlowNodeExecutor extends ContainerExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
archiveFlowNodeInstance(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance,
boolean deleteAfterArchive,
long processDefinitionId)
Archive the flow node instance given as parameter.
|
void |
childReachedState(org.bonitasoft.engine.core.process.instance.model.SProcessInstance childProcInst,
ProcessInstanceState childState,
boolean hasActionsToExecute) |
org.bonitasoft.engine.core.process.instance.api.states.StateCode |
executeState(SProcessDefinition processDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance,
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState state) |
void |
setStateByStateId(long sProcessDefinitionId,
long flowNodeInstanceId,
int stateId) |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
stepForward(long flowNodeInstanceId,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext,
List<org.bonitasoft.engine.core.operation.model.SOperation> operations,
long processInstanceId,
Long executerId,
Long executerSubstituteId) |
childFinished, executeFlowNode, getHandledTypeorg.bonitasoft.engine.core.process.instance.api.states.FlowNodeState stepForward(long flowNodeInstanceId,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext,
List<org.bonitasoft.engine.core.operation.model.SOperation> operations,
long processInstanceId,
Long executerId,
Long executerSubstituteId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeExecutionException
flowNodeInstanceId - expressionContext - operations - processInstanceId - executerId - executerSubstituteId - org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeExecutionExceptionvoid setStateByStateId(long sProcessDefinitionId,
long flowNodeInstanceId,
int stateId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException
sProcessDefinitionId - flowNodeInstanceId - stateId - org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionExceptionvoid childReachedState(org.bonitasoft.engine.core.process.instance.model.SProcessInstance childProcInst,
ProcessInstanceState childState,
boolean hasActionsToExecute)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
childProcInst - childState - hasActionsToExecute - org.bonitasoft.engine.commons.exceptions.SBonitaExceptionvoid archiveFlowNodeInstance(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance,
boolean deleteAfterArchive,
long processDefinitionId)
throws SArchivingException
flowNodeInstance - The flow node instance to be archived.deleteAfterArchive - processDefinitionId - the identifier of process definitionorg.bonitasoft.engine.core.process.instance.api.exceptions.SActivityExecutionException - in case an error occursSArchivingExceptionorg.bonitasoft.engine.core.process.instance.api.states.StateCode executeState(SProcessDefinition processDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance, org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState state) throws org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException, org.bonitasoft.engine.core.process.instance.api.exceptions.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 stateorg.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException - if an exception occurs when executing current stateorg.bonitasoft.engine.core.process.instance.api.exceptions.SActivityExecutionException - if an exception occurs when retrieving next stateCopyright © 2014 Bonitasoft S.A.. All rights reserved.