E - list element type of the optionpublic static class ConfigOptions.ListConfigOptionBuilder<E> extends Object
ConfigOption of list of type E.| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023 The Apache Software Foundation. All rights reserved.