Class ConfigOptions.ListConfigOptionBuilder<E>

java.lang.Object
ai.dat.core.configuration.ConfigOptions.ListConfigOptionBuilder<E>
Type Parameters:
E - list element type of the option
Enclosing class:
ConfigOptions

public static class ConfigOptions.ListConfigOptionBuilder<E> extends Object
  • Method Details

    • defaultValues

      @SafeVarargs public final ConfigOption<List<E>> defaultValues(E... values)
      Creates a ConfigOption with the given default value.
      Parameters:
      values - The list of default values for the config option
      Returns:
      The config option with the default value.
    • noDefaultValue

      public ConfigOption<List<E>> noDefaultValue()
      Creates a ConfigOption without a default value.
      Returns:
      The config option without a default value.