ConfigurationDefinition#getCurrentConfiguredValue() to translate whatever object type a ConfigurationValueProvider is returning
into the object type the definition uses.
| Modifier and Type | Field and Description |
|---|---|
| public static final ConfigurationValueConverter | |
| public static final ConfigurationValueConverter | LOG_LEVEL
Standard value -> java.util.logging.Level converter |
| public static final ConfigurationValueConverter |
| Modifier and Type | Method and Description |
|---|---|
| public DataType |
| CLASS | back to summary |
|---|---|
| public static final ConfigurationValueConverter<Class<T>> CLASS | |
| LOG_LEVEL | back to summary |
|---|---|
| public static final ConfigurationValueConverter<Level> LOG_LEVEL Standard value -> java.util.logging.Level converter | |
| STRING | back to summary |
|---|---|
| public static final ConfigurationValueConverter<String> STRING | |
| convert | back to summary |
|---|---|
| public DataType convert(Object value) throws IllegalArgumentException Converts an arbitrary object into the correct type. Implementations should be able to handle any type passed them, often types by calling toString() on the incoming value and parsing the string. Normally, a null value will be returned as a null value, but that is up to the implementation.
| |