Interface ParameterDefinitionBuilder.DisplayParameterBuilder
- Enclosing interface:
- ParameterDefinitionBuilder
public static interface ParameterDefinitionBuilder.DisplayParameterBuilder
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionsetDisplayTypeAs
(ParserParameterCustomSelectionType displayType, List<String> allowedValues) setDisplayTypeAs
(ParserParameterDisplayType displayType) Configures the display type of the parameter definition.
-
Method Details
-
setDisplayTypeAs
ParameterDefinitionBuilder.ParameterDefaultValueBuilder setDisplayTypeAs(ParserParameterDisplayType displayType) Configures the display type of the parameter definition.- Parameters:
displayType
- parser parameter display type- Returns:
- Default value builder
-
setDisplayTypeAs
ParameterDefinitionBuilder.ParameterDefaultValueBuilder setDisplayTypeAs(ParserParameterCustomSelectionType displayType, List<String> allowedValues) - Parameters:
displayType
- parser parameter display typeallowedValues
- that returns a list of allowed values- Returns:
- Default value builder
- Since:
- 2.6.0 Configures the parameter definition as custom chooser (eg: dropdown)
-