Annotation Interface WorkflowStatusChangedHandler


@Documented @Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE}) public @interface WorkflowStatusChangedHandler
Method marker to register a workflow lifecycle listener based on the status of the workflow.
Since:
5.4.0
Author:
Simon Zambrovski
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the workflow status to listen for.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the name of the workflow.
  • Element Details

    • workflowName

      String workflowName
      Specifies the name of the workflow.
      Returns:
      workflow name, defaults to empty string, meaning that the full-qualified name and method name of the class is used
      Default:
      ""
    • workflowStatus

      WorkflowStatus workflowStatus
      Specifies the workflow status to listen for.
      Returns:
      workflow status to listen for