Package com.enonic.xp.config

## Interface Configuration

-     public interface Configuration

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<String,​String>` | `asMap()` |
    `boolean` | `exists​(String key)` |
    `String` | `get​(String key)` |
    `<T> T` | `get​(String key, Class<T> type)` |
    `<T> T` | `getOrDefault​(String key, Class<T> type, T defValue)` |
    `String` | `getOrDefault​(String key, String defValue)` |
    `Configuration` | `subConfig​(String prefix)` |

- - ### Method Detail

    - #### get

          String get​(String key)

    - #### exists

          boolean exists​(String key)

    - #### getOrDefault

          String getOrDefault​(String key,
                              String defValue)

    - #### get

          <T> T get​(String key,
                    Class<T> type)

    - #### getOrDefault

          <T> T getOrDefault​(String key,
                             Class<T> type,
                             T defValue)

    - #### subConfig

          Configuration subConfig​(String prefix)

    - #### asMap

          Map<String,​String> asMap()