Package ai.dat.core.configuration
Class ConfigOptions.TypedConfigOptionBuilder<T>
java.lang.Object
ai.dat.core.configuration.ConfigOptions.TypedConfigOptionBuilder<T>
- Type Parameters:
T- atomic type of the option
- Enclosing class:
- ConfigOptions
Builder for
ConfigOption with a defined atomic type.-
Method Summary
Modifier and TypeMethodDescriptionasList()Defines that the option's type should be a list of previously defined atomic type.defaultValue(T value) Creates a ConfigOption with the given default value.Creates a ConfigOption without a default value.
-
Method Details
-
asList
Defines that the option's type should be a list of previously defined atomic type. -
defaultValue
Creates a ConfigOption with the given default value.- Parameters:
value- The default value for the config option- Returns:
- The config option with the default value.
-
noDefaultValue
Creates a ConfigOption without a default value.- Returns:
- The config option without a default value.
-