Interface ContainerExecutor

All Known Subinterfaces:
FlowNodeExecutor, ProcessExecutor
All Known Implementing Classes:
FlowNodeExecutorImpl, ProcessExecutorImpl

public interface ContainerExecutor
Author:
Baptiste Mesta, Celine Souchet
  • Method Details

    • childFinished

      void childFinished(long processDefinitionId, long parentId, SFlowNodeInstance childFlowNode) throws SBonitaException
      Method called to notify this container executor that a child reached the given state
      Parameters:
      processDefinitionId - The identifier of the process definition
      parentId - The identifier of the parent of the flow node
      childFlowNode -
      Throws:
      SBonitaException
    • executeFlowNode

      FlowNodeState executeFlowNode(SFlowNodeInstance flowNodeInstance, Long executerId, Long executerSubstituteId) throws SFlowNodeReadException, SFlowNodeExecutionException
      Execute a flow node in the context of this container executor
      Parameters:
      flowNodeInstance - The flow node instance
      executerId - The identifier of the user which execute the flow node
      executerSubstituteId - The identifier of the delegated user which execute the flow node
      Returns:
      The new state of the flow node after execution
      Throws:
      SFlowNodeReadException
      SFlowNodeExecutionException - Throw if there is an error when execute the flow node
    • getHandledType

      String getHandledType()
      Returns:
      The handled type