Interface ContainerExecutor

    • Method Detail

      • 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,
                                      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 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

        java.lang.String getHandledType()
        Returns:
        The handled type