Interface StateBasedWorkflowStepResult.StateChangeTrigger

Enclosing class:
StateBasedWorkflowStepResult
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StateBasedWorkflowStepResult.StateChangeTrigger
Blocks until the workflow state changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Blocks the calling thread until the next workflow state change.
  • Method Details

    • awaitStateChange

      void awaitStateChange() throws InterruptedException
      Blocks the calling thread until the next workflow state change.
      Throws:
      InterruptedException - if the waiting thread is interrupted