Interface UnifiedStepConfigurationBuilder
public interface UnifiedStepConfigurationBuilder
Builder for step configuration of unified custom step.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the step configuration object.withDefaultOptions
(UserOption userOption) Configures the default configuration option of the custom step.Configures the custom step icon to be displayed.withIsCompleteHandler
(Predicate<UICallbackContext> isCompleteHandler) Configures the handler to determine if the custom step is complete.withNodes
(Function<UnifiedStepNodeBuilder, List<NodeDefinition>> nodeBuilder) Configures the input and output nodes that are associated with the custom step.withOutputLayouts
(Function<OutputLayoutBuilder, List<OutputLayout>> outputLayoutBuilder) Configures the output layout of the custom step.withStepProperties
(Function<StepPropertiesBuilder, List<StepProperty>> stepPropertyBuilder) Configures the step properties that are associated with the custom step.Configures a step setting of the custom step.
-
Method Details
-
withNodes
UnifiedStepConfigurationBuilder withNodes(Function<UnifiedStepNodeBuilder, List<NodeDefinition>> nodeBuilder) Configures the input and output nodes that are associated with the custom step.- Parameters:
nodeBuilder
- list of Node Definitions- Returns:
- Add step properties builder
-
withStepProperties
UnifiedStepConfigurationBuilder withStepProperties(Function<StepPropertiesBuilder, List<StepProperty>> stepPropertyBuilder) Configures the step properties that are associated with the custom step.- Parameters:
stepPropertyBuilder
- list of Step Properties- Returns:
- Complete and output definition builder
-
withIsCompleteHandler
UnifiedStepConfigurationBuilder withIsCompleteHandler(Predicate<UICallbackContext> isCompleteHandler) Configures the handler to determine if the custom step is complete.- Parameters:
isCompleteHandler
- callback to determine if custom step is complete- Returns:
- Output definition builder
-
withOutputLayouts
UnifiedStepConfigurationBuilder withOutputLayouts(Function<OutputLayoutBuilder, List<OutputLayout>> outputLayoutBuilder) Configures the output layout of the custom step.- Parameters:
outputLayoutBuilder
- builder to configure individual output layout- Returns:
- Configuration builder
-
withDefaultOptions
Configures the default configuration option of the custom step.- Parameters:
userOption
- user option- Returns:
- Configuration builder
-
withStepSetting
UnifiedStepConfigurationBuilder withStepSetting(Function<CustomStepSettingBuilder, CustomStepSetting> builder) Configures a step setting of the custom step.- Parameters:
builder
- builder for custom step setting- Returns:
- Configuration builder
-
withIcon
Configures the custom step icon to be displayed.- Parameters:
icon
- icon reference- Returns:
- Configuration builder
-
build
UnifiedStepConfiguration build()Builds the step configuration object.- Returns:
- Specific concrete step configuration object
-