org.eclipse.rdf4j.console.setting

## Class LogLevel

- java.lang.Object
- - org.eclipse.rdf4j.console.setting.ConsoleSetting<String>
  - - org.eclipse.rdf4j.console.setting.LogLevel

- All Implemented Interfaces:
    Help, Setting<String>

      public class LogLevel
      extends ConsoleSetting<String>

  Console log level setting.
  Author:
    Bart Hanssens

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LogLevel()` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `get()` Get the current value for this setting
    `String` | `getHelpLong()` Get long description
    `String` | `getName()` Get the name of the command
    `void` | `set(String value)` Set the value for this setting
    `void` | `setFromString(String value)` Set the value for this setting from a string

    - ### Methods inherited from class org.eclipse.rdf4j.console.setting.ConsoleSetting

      `clear, getAsString, getHelpShort, getInitValue, getType`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### NAME

          public static final String NAME

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### LogLevel

          public LogLevel()

      Constructor

  - ### Method Detail

    - #### getHelpLong

          public String getHelpLong()

      Description copied from class: `ConsoleSetting`
      Get long description
      Specified by:
        `getHelpLong` in interface `Help`
      Overrides:
        `getHelpLong` in class `ConsoleSetting<String>`
      Returns:
        string, can be multiple lines

    - #### getName

          public String getName()

      Description copied from interface: `Help`
      Get the name of the command
      Returns:
        string

    - #### get

          public String get()

      Description copied from interface: `Setting`
      Get the current value for this setting
      Specified by:
        `get` in interface `Setting<String>`
      Overrides:
        `get` in class `ConsoleSetting<String>`
      Returns:
        value

    - #### set

          public void set(String value)
                   throws IllegalArgumentException

      Description copied from interface: `Setting`
      Set the value for this setting
      Specified by:
        `set` in interface `Setting<String>`
      Overrides:
        `set` in class `ConsoleSetting<String>`
      Throws:
        `IllegalArgumentException`

    - #### setFromString

          public void setFromString(String value)
                             throws IllegalArgumentException

      Description copied from class: `ConsoleSetting`
      Set the value for this setting from a string
      Specified by:
        `setFromString` in class `ConsoleSetting<String>`
      Parameters:
        `value` - string value
      Throws:
        `IllegalArgumentException`

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