Interface ParameterDefinitionBuilder.ParameterDefaultValueBuilder
- Enclosing interface:
- ParameterDefinitionBuilder
public static interface ParameterDefinitionBuilder.ParameterDefaultValueBuilder
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionwithDefaultValueAsBoolean
(boolean value) Configures the default parameter value as a boolean.withDefaultValueAsBoolean
(Function<ParameterContext, Boolean> getDefaultValue) Configures the default parameter value as a boolean.withDefaultValueAsCharacter
(char value) Configures the default parameter value as a character.withDefaultValueAsCharacter
(Function<ParameterContext, Character> getDefaultValue) Configures the default parameter value as a character.withDefaultValueAsNumber
(long value) Configures the default parameter value as a number.withDefaultValueAsNumber
(Function<ParameterContext, Long> getDefaultValue) Configures the default parameter value as a number.withDefaultValueAsString
(String value) Configures the default parameter value as a string.withDefaultValueAsString
(Function<ParameterContext, String> getDefaultValue) Configures the default parameter value as a string.
-
Method Details
-
withDefaultValueAsString
Configures the default parameter value as a string.- Parameters:
value
- default string value- Returns:
- Affects table structure builder
-
withDefaultValueAsBoolean
Configures the default parameter value as a boolean.- Parameters:
value
- default boolean value- Returns:
- Affects table structure builder
-
withDefaultValueAsNumber
Configures the default parameter value as a number.- Parameters:
value
- default numerical value- Returns:
- Affects table structure builder
-
withDefaultValueAsCharacter
Configures the default parameter value as a character.- Parameters:
value
- default character value- Returns:
- Affects table structure builder
-
withDefaultValueAsString
ParameterDefinitionBuilder.AffectsTableStructureBuilder withDefaultValueAsString(Function<ParameterContext, String> getDefaultValue) Configures the default parameter value as a string.- Parameters:
getDefaultValue
- callback that returns the default string value- Returns:
- Affects table structure builder
-
withDefaultValueAsBoolean
ParameterDefinitionBuilder.AffectsTableStructureBuilder withDefaultValueAsBoolean(Function<ParameterContext, Boolean> getDefaultValue) Configures the default parameter value as a boolean.- Parameters:
getDefaultValue
- callback that returns the default boolean value- Returns:
- Affects table structure builder
-
withDefaultValueAsNumber
ParameterDefinitionBuilder.AffectsTableStructureBuilder withDefaultValueAsNumber(Function<ParameterContext, Long> getDefaultValue) Configures the default parameter value as a number.- Parameters:
getDefaultValue
- callback that returns the default numerical value- Returns:
- Affects table structure builder
-
withDefaultValueAsCharacter
ParameterDefinitionBuilder.AffectsTableStructureBuilder withDefaultValueAsCharacter(Function<ParameterContext, Character> getDefaultValue) Configures the default parameter value as a character.- Parameters:
getDefaultValue
- callback that returns the default character value- Returns:
- Affects table structure builder
-