Interface GeneratorConfig.Builder
- Enclosing interface:
- GeneratorConfig
public static interface GeneratorConfig.Builder
Builder to build configuration of file generator.
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalInputNode
(String secondInputId) Configures additional input nodes.addStepProperty
(String stepPropertyId) Adds a step property to the custom file generator.done()
Completes the configuration.withDefaultFileExtension
(String fileExtension) Configures the file extension of the file being generated.withDefaultInputNodeLabel
(String label) Configures the label for default input node.
-
Method Details
-
withDefaultInputNodeLabel
Configures the label for default input node.- Parameters:
label
- Label for default input node.- Returns:
- Generator config builder
-
withDefaultFileExtension
Configures the file extension of the file being generated.- Parameters:
fileExtension
- File extension- Returns:
- Generator config builder
-
addAdditionalInputNode
Configures additional input nodes. Export step will always have one input node by default.- Parameters:
secondInputId
- ID of the additional input node- Returns:
- Input node generator builder
-
addStepProperty
Adds a step property to the custom file generator.- Parameters:
stepPropertyId
- ID of the step property- Returns:
- Step property generator builder
-
done
GeneratorConfig done()Completes the configuration.- Returns:
- Completed generator configuration
-