Interface WorkflowModule.WorkflowDefinitionPhase.OnPhase<C extends WorkflowContext>
- Type Parameters:
C- the type ofWorkflowContextused by the workflows in this module
- Enclosing interface:
WorkflowModule.WorkflowDefinitionPhase<C extends WorkflowContext>
public static interface WorkflowModule.WorkflowDefinitionPhase.OnPhase<C extends WorkflowContext>
Phase of the declarative workflow definition process in which the trigger condition is defined.
The trigger condition determines which events cause a new workflow instance to be started.
-
Method Summary
Modifier and TypeMethodDescriptionon(ComponentBuilder<EventCondition> startCondition) Registers the givenEventConditionas the trigger for starting new instances of the workflow being built.
-
Method Details
-
on
WorkflowModule.WorkflowDefinitionPhase.WorkflowCustomizationPhase<C> on(ComponentBuilder<EventCondition> startCondition) Registers the givenEventConditionas the trigger for starting new instances of the workflow being built.- Parameters:
startCondition- aComponentBuilderconstructing theEventCondition- Returns:
- the
WorkflowModule.WorkflowDefinitionPhase.WorkflowCustomizationPhasephase of this builder, for a fluent API
-