public interface GenericConfig extends Serializable
| Modifier and Type | Method and Description |
|---|---|
GenericConfig |
addProperty(String key,
Serializable value)
to add a key/value pair to the config
|
boolean |
containsProperty(String key) |
Serializable |
getProperty(String key) |
<T extends Serializable> |
getProperty(String key,
Class<T> targetType) |
GenericConfig addProperty(String key, Serializable value)
key - key for the current valuevalue - value for the current keySerializable getProperty(String key)
key - the key of the value in question<T extends Serializable> T getProperty(String key, Class<T> targetType)
key - the key of the value in questiontargetType - type of the expected valueboolean containsProperty(String key)
key - the key of the value in questionCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.