public abstract class AbstractConfigurationImpl extends Object implements Configuration
| Constructor and Description |
|---|
AbstractConfigurationImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentConfig, getProperty, hasProperty, invalidate, isReloading, reload, setPropertypublic Long getLongProperty(String key, Long defaultValue)
ConfigurationgetLongProperty in interface Configurationkey - the keydefaultValue - the default valuepublic Integer getIntegerProperty(String key, Integer defaultValue)
ConfigurationgetIntegerProperty in interface Configurationkey - the keydefaultValue - the default valuepublic Boolean getBooleanProperty(String key, Boolean defaultValue)
ConfigurationgetBooleanProperty in interface Configurationkey - the keydefaultValue - the default valuepublic Duration getDurationProperty(String key, Long defaultValue, TimeUnit defaultTimeUnit)
getDurationProperty in interface Configurationpublic boolean hasDurationProperty(String key)
hasDurationProperty in interface Configurationpublic URL getURLProperty(String key)
ConfigurationgetURLProperty in interface Configurationkey - the stringpublic String getProperty(String key)
ConfigurationgetProperty in interface Configurationkey - the keypublic boolean containsKey(String key)
ConfigurationcontainsKey in interface Configurationkey - the keypublic boolean hasMatchingProperty(String rootKey)
hasMatchingProperty in interface Configurationpublic boolean hasMatchingProperty(String rootKey, int i)
public List<String> getMatchingProperties(String rootKey)
ConfigurationgetMatchingProperties in interface ConfigurationrootKey - the root key
Connector Packaging generic 4.6.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.