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 ElementsModifier and TypeRequired ElementDescriptionSpecifies the workflow status to listen for. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies the name of the workflow.
-
Element Details
-
workflowName
String workflowNameSpecifies 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 workflowStatusSpecifies the workflow status to listen for.- Returns:
- workflow status to listen for
-