Annotation Interface Consume.FromWorkflow

Enclosing class:
Consume

@Target(TYPE) @Retention(RUNTIME) @Documented public static @interface Consume.FromWorkflow
Annotation for consuming state updates from a Workflow.

The underlying method must be declared to receive one parameter for the received workflow state changes.

  • Required Element Summary Link icon

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Workflow<?>>
    Assign the class type of the workflow one intends to consume from, which must extend Workflow.
  • Element Details

    • value Link icon

      Class<? extends Workflow<?>> value
      Assign the class type of the workflow one intends to consume from, which must extend Workflow.