Class CompleteFlowCallback

    • Field Detail

      • isComplete

        protected volatile boolean isComplete
        Indicates if Flow is complete.
    • Constructor Detail

      • CompleteFlowCallback

        public CompleteFlowCallback()
    • Method Detail

      • assertComplete

        public void assertComplete()
                            throws java.lang.Exception
        Asserts the Flow is complete.
        Throws:
        java.lang.Exception - If failure in execution.
      • assertComplete

        public void assertComplete​(ThreadedTestSupport threading)
                            throws java.lang.Exception
        Asserts the Flow is complete.
        Parameters:
        threading - ThreadedTestSupport to wait for completion. Necessary if spawning ThreadState.
        Throws:
        java.lang.Exception - If failure in execution.
      • assertNotComplete

        public void assertNotComplete()
                               throws java.lang.Exception
        Asserts the Flow is not complete.
        Throws:
        java.lang.Exception - If failure in execution.
      • assertNotComplete

        public void assertNotComplete​(ThreadedTestSupport threading)
                               throws java.lang.Exception
        Asserts the Flow is not complete.
        Parameters:
        threading - ThreadedTestSupport to wait for completion. Necessary if spawning ThreadState.
        Throws:
        java.lang.Exception - If failure in execution.
      • run

        public void run​(java.lang.Throwable escalation)
                 throws java.lang.Throwable
        Description copied from interface: FlowCallback
        Invoked on completion of the Flow.
        Specified by:
        run in interface FlowCallback
        Parameters:
        escalation - Possible Throwable from the Flow. null indicates all Escalation instances handled within Flow.
        Throws:
        java.lang.Throwable - Escalation within the callback logic.