Class ConfigOptions.TypedConfigOptionBuilder<T>

  • Type Parameters:
    T - atomic type of the option
    Enclosing class:
    ConfigOptions

    public static class ConfigOptions.TypedConfigOptionBuilder<T>
    extends Object
    Builder for ConfigOption with a defined atomic type.
    • Method Detail

      • defaultValue

        public ConfigOption<T> defaultValue​(T value)
        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

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