Interface ParameterDefinitionsBuilder
public interface ParameterDefinitionsBuilder
Builder for a list of parameter definitions of a custom parser.
Uses
ParameterDefinitionBuilder
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Function<ParameterDefinitionBuilder, ParameterDefinition> parameterDefinitionBuilder) Adds a new parameter definition through the ParameterDefinitionBuilder.build()
Builds a list of parameter definition objects.
-
Method Details
-
add
ParameterDefinitionsBuilder add(Function<ParameterDefinitionBuilder, ParameterDefinition> parameterDefinitionBuilder) Adds a new parameter definition through the ParameterDefinitionBuilder.- Parameters:
parameterDefinitionBuilder
- callback that returns a parameter definition object- Returns:
- Parameter definitions builder
-
build
List<ParameterDefinition> build()Builds a list of parameter definition objects.- Returns:
- A list of specific concrete parameter definition objects
-