Interface WorkflowModule.WorkflowDefinitionPhase.WorkflowCustomizationPhase<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.WorkflowCustomizationPhase<C extends WorkflowContext>
Phase of the declarative workflow definition process in which optional customizations can be applied.
Customizations allow fine-tuning workflow behavior through a WorkflowCustomization instance.
-
Method Summary
Modifier and TypeMethodDescriptioncustomized(BiFunction<Configuration, WorkflowCustomization, WorkflowCustomization> instanceCustomization) Applies the given customizations to the workflow being built.Skips customization and uses default settings for the workflow being built.
-
Method Details
-
customized
WorkflowModule.WorkflowDefinitionPhase.FinalizedPhase<C> customized(BiFunction<Configuration, WorkflowCustomization, WorkflowCustomization> instanceCustomization) Applies the given customizations to the workflow being built.- Parameters:
instanceCustomization- a function receiving theConfigurationand aWorkflowCustomizationto modify- Returns:
- the
WorkflowModule.WorkflowDefinitionPhase.FinalizedPhaseof this builder, for a fluent API
-
notCustomized
Skips customization and uses default settings for the workflow being built.- Returns:
- the
WorkflowModule.WorkflowDefinitionPhase.FinalizedPhaseof this builder, for a fluent API
-