org.eclipse.rdf4j.console

## Interface Setting<T>

- Type Parameters:
    `T` -
  All Known Implementing Classes:
    ConsoleSetting, ConsoleWidth, LogLevel, Prefixes, QueryPrefix, SaveHistory, ShowPrefix, WorkDir

      public interface Setting<T>

  Setting interface
  Author:
    Bart Hanssens

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()` Clear setting
    `T` | `get()` Get the current value for this setting
    `T` | `getInitValue()` Get the initial value
    `Class` | `getType()` Get the parameter type
    `void` | `set(T value)` Set the value for this setting

- - ### Method Detail

    - #### getType

          Class getType()

      Get the parameter type
      Returns:
        class type

    - #### getInitValue

          T getInitValue()

      Get the initial value
      Returns:
        T

    - #### get

          T get()

      Get the current value for this setting
      Returns:
        value

    - #### set

          void set(T value)
            throws IllegalArgumentException

      Set the value for this setting
      Parameters:
        `value` -
      Throws:
        `IllegalArgumentException`

    - #### clear

          void clear()

      Clear setting

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.