Interface InputNodeBuilder.Builder
- Enclosing interface:
- InputNodeBuilder
public static interface InputNodeBuilder.Builder
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a input node object.withIsRequired
(boolean required) Sets whether the input node is mandatory.Configures the custom label for disconnected input node.withLabelDisplayed
(boolean labelDisplayed) Sets whether the name of the preceding step is displayed on the current step.Sets the type of the input node.
-
Method Details
-
withType
Sets the type of the input node. Default is DATA.- Parameters:
nodeType
- data/process- Returns:
- a reference to this builder
-
withLabelDisplayed
Sets whether the name of the preceding step is displayed on the current step. Default is true.- Parameters:
labelDisplayed
- true if display label, false otherwise- Returns:
- a reference to this builder
-
withLabel
Configures the custom label for disconnected input node.- Parameters:
label
- a string label- Returns:
- a reference to this builder
- Since:
- 2.3.0
-
withIsRequired
Sets whether the input node is mandatory. Default is false.- Parameters:
required
- true if mandatory, false otherwise- Returns:
- a reference to this builder
-
build
InputNode build()Builds a input node object.- Returns:
- a concrete input node object
-