Interface WorkflowStateListener

  • All Known Implementing Classes:
    EchoWFStateListener

    public interface WorkflowStateListener
    Listens to state changes for a workflow
    • Method Detail

      • stepStateChanged

        void stepStateChanged​(StepIdentifier identifier,
                              StepStateChange stepStateChange,
                              java.util.Date timestamp)
        A step changed state, as identified in the StepState
        Parameters:
        identifier - the new state identifier
        stepStateChange - the change to the state
        timestamp - the time of the change
      • workflowExecutionStateChanged

        void workflowExecutionStateChanged​(ExecutionState executionState,
                                           java.util.Date timestamp,
                                           java.util.List<java.lang.String> nodeSet)
        The workflow execution state changed
        Parameters:
        executionState - the new execution state
        timestamp - the time of the change
        nodeSet - the set of nodes
      • subWorkflowExecutionStateChanged

        void subWorkflowExecutionStateChanged​(StepIdentifier identifier,
                                              ExecutionState executionState,
                                              java.util.Date timestamp,
                                              java.util.List<java.lang.String> nodeSet)
        A sub workflow state changed with the given identifier
        Parameters:
        identifier - the step identifier
        executionState - state
        timestamp - timestamp
        nodeSet - node set