|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.configuration.internal.CompositeConfigurationSource
public class CompositeConfigurationSource
Allows composing (aka chaining) several Configuration Sources. The order of sources is important. Sources located before other sources take priority.
| Constructor Summary | |
|---|---|
CompositeConfigurationSource()
|
|
| Method Summary | ||
|---|---|---|
void |
addConfigurationSource(org.xwiki.configuration.ConfigurationSource source)
|
|
boolean |
containsKey(java.lang.String key)
|
|
java.util.List<java.lang.String> |
getKeys()
|
|
|
getProperty(java.lang.String key)
|
|
|
getProperty(java.lang.String key,
java.lang.Class<T> valueClass)
|
|
|
getProperty(java.lang.String key,
T defaultValue)
|
|
boolean |
isEmpty()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeConfigurationSource()
| Method Detail |
|---|
public void addConfigurationSource(org.xwiki.configuration.ConfigurationSource source)
public boolean containsKey(java.lang.String key)
containsKey in interface org.xwiki.configuration.ConfigurationSourceConfigurationSource.containsKey(String)public <T> T getProperty(java.lang.String key)
getProperty in interface org.xwiki.configuration.ConfigurationSourceConfigurationSource.getProperty(String)
public <T> T getProperty(java.lang.String key,
java.lang.Class<T> valueClass)
getProperty in interface org.xwiki.configuration.ConfigurationSourceConfigurationSource.getProperty(String, Class)
public <T> T getProperty(java.lang.String key,
T defaultValue)
getProperty in interface org.xwiki.configuration.ConfigurationSourceConfigurationSource.getProperty(String, Object)public java.util.List<java.lang.String> getKeys()
getKeys in interface org.xwiki.configuration.ConfigurationSourceConfigurationSource.getKeys()public boolean isEmpty()
isEmpty in interface org.xwiki.configuration.ConfigurationSourceConfigurationSource.isEmpty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||