|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.config.impl.AbstractConfigurationImpl
public abstract class AbstractConfigurationImpl
| Constructor Summary | |
|---|---|
AbstractConfigurationImpl()
|
|
| Method Summary | |
|---|---|
boolean |
containsKey(String key)
Property contains key. |
Boolean |
getBooleanProperty(String key,
Boolean defaultValue)
Gets the boolean property. |
Duration |
getDurationProperty(String key,
Long defaultValue,
TimeUnit defaultTimeUnit)
|
Integer |
getIntegerProperty(String key,
Integer defaultValue)
Gets the integer property. |
Long |
getLongProperty(String key,
Long defaultValue)
Gets the long property. |
List<String> |
getMatchingProperties(String rootKey)
Gets the properties that match a root key. |
String |
getProperty(String key)
Gets the property by Key from the DEFAULT_CONFIG. |
URL |
getURLProperty(String key)
Gets the uRL property. |
boolean |
hasDurationProperty(String key)
|
boolean |
hasMatchingProperty(String rootKey)
|
boolean |
hasMatchingProperty(String rootKey,
int i)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface be.ehealth.technicalconnector.config.Configuration |
|---|
getCurrentConfig, getProperty, hasProperty, invalidate, isReloading, reload, setConfigLocation, setProperty |
| Constructor Detail |
|---|
public AbstractConfigurationImpl()
| Method Detail |
|---|
public Long getLongProperty(String key,
Long defaultValue)
Configuration
getLongProperty in interface Configurationkey - the keydefaultValue - the default value
public Integer getIntegerProperty(String key,
Integer defaultValue)
Configuration
getIntegerProperty in interface Configurationkey - the keydefaultValue - the default value
public Boolean getBooleanProperty(String key,
Boolean defaultValue)
Configuration
getBooleanProperty in interface Configurationkey - the keydefaultValue - the default value
public Duration getDurationProperty(String key,
Long defaultValue,
TimeUnit defaultTimeUnit)
getDurationProperty in interface Configurationpublic boolean hasDurationProperty(String key)
hasDurationProperty in interface Configurationpublic URL getURLProperty(String key)
Configuration
getURLProperty in interface Configurationkey - the string
public String getProperty(String key)
Configuration
getProperty in interface Configurationkey - the key
public boolean containsKey(String key)
Configuration
containsKey in interface Configurationkey - the key
public boolean hasMatchingProperty(String rootKey)
hasMatchingProperty in interface Configuration
public boolean hasMatchingProperty(String rootKey,
int i)
public List<String> getMatchingProperties(String rootKey)
Configuration
getMatchingProperties in interface ConfigurationrootKey - the root key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||