@Role public interface ConfigurationSource
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key) |
List<String> |
getKeys() |
<T> T |
getProperty(String key) |
<T> T |
getProperty(String key,
Class<T> valueClass) |
<T> T |
getProperty(String key,
T defaultValue) |
boolean |
isEmpty() |
<T> T getProperty(String key, T defaultValue)
T - the value typekey - the property key for which we want the valuedefaultValue - the value to use if the key isn't found<T> T getProperty(String key, Class<T> valueClass)
T - the value typekey - the property key for which we want the valuevalueClass - the type of object that should be returned. The value is converted to the passed type.<T> T getProperty(String key)
T - the value typekey - the property key for which we want the valuegetProperty(String, Class) or getProperty(String, Object)boolean containsKey(String key)
key - the key to checkboolean isEmpty()
Copyright © 2004–2016 XWiki. All rights reserved.