com.holonplatform.core.config

## Interface ConfigProperty<T>

- Type Parameters:
    `T` - Property value type
  All Superinterfaces:
    Serializable

      public interface ConfigProperty<T>
      extends Serializable

  Configuration property reference, identified by a `String` key and supporting a typed value.
  Since:
    5.0.0

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> ConfigProperty<T>` | `create(String key, Class<T> type)` Create a `ConfigProperty`
    `String` | `getKey()` Property key (name)
    `Class<T>` | `getType()` Property value type

- - ### Method Detail

    - #### getKey

          String getKey()

      Property key (name)
      Returns:
        Property key

    - #### getType

          Class<T> getType()

      Property value type
      Returns:
        Value type

    - #### create

          static <T> ConfigProperty<T> create(String key,
                                              Class<T> type)

      Create a `ConfigProperty`
      Type Parameters:
        `T` - Property value type
      Parameters:
        `key` - Property key (not null)
        `type` - Property type (not null)
      Returns:
        ConfigProperty instance

Copyright © 2019 The Holon Platform. All rights reserved.