E
- list element type of the optionpublic static class ConfigOptions.ListConfigOptionBuilder<E> extends Object
ConfigOption
of list of type E
.Modifier and Type | Method and Description |
---|---|
ConfigOption<List<E>> |
defaultValues(E... values)
Creates a ConfigOption with the given default value.
|
ConfigOption<List<E>> |
noDefaultValue()
Creates a ConfigOption without a default value.
|
@SafeVarargs public final ConfigOption<List<E>> defaultValues(E... values)
values
- The list of default values for the config optionpublic ConfigOption<List<E>> noDefaultValue()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.