com.h3c.sdn.config

## Class Config.ConfigEntry

- java.lang.Object
- - com.h3c.sdn.config.Config.ConfigEntry

- Enclosing class:
    Config

      public static class Config.ConfigEntry
      extends Object

  The values for a given configuration key, including the current value `val`, the default value `defVal`, and the description `desc`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Config.ConfigEntry(String val, String defVal, String desc)` Construct a new ConfigEntry.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDefVal()` Get the default value.
    `String` | `getDesc()` Get the description.
    `String` | `getVal()` Get the current value.
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Config.ConfigEntry

          public Config.ConfigEntry(String val,
                            String defVal,
                            String desc)

      Construct a new ConfigEntry.
      Parameters:
        `val` - the current value
        `defVal` - the default value
        `desc` - the description

  - ### Method Detail

    - #### getDefVal

          public String getDefVal()

      Get the default value.
      Returns:
        the default value

    - #### getDesc

          public String getDesc()

      Get the description.
      Returns:
        the description.

    - #### getVal

          public String getVal()

      Get the current value.
      Returns:
        the current value

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.