public abstract class BaseConfigurationStrategy extends Object implements ConfigurationStrategy
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
BaseConfigurationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
get(ConfigurationKey configurationKey)
Retrieve the String value for this key.
|
boolean |
getBoolean(ConfigurationKey<Boolean> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
<T> Class<? extends T> |
getClass(ConfigurationKey<Class<? extends T>> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
int |
getInt(ConfigurationKey<Integer> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
long |
getLong(ConfigurationKey<Long> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
String |
getString(ConfigurationKey<String> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic final boolean getBoolean(ConfigurationKey<Boolean> configurationKey)
ConfigurationStrategyConfigurationKey.getDefaultValue() if nothing can be found.getBoolean in interface ConfigurationStrategyconfigurationKey - the configuration key. MUST NOT BE NULL.public final long getLong(ConfigurationKey<Long> configurationKey)
ConfigurationStrategyConfigurationKey.getDefaultValue() if nothing can be found.getLong in interface ConfigurationStrategyconfigurationKey - the configuration key. MUST NOT BE NULL.public final int getInt(ConfigurationKey<Integer> configurationKey)
ConfigurationStrategyConfigurationKey.getDefaultValue() if nothing can be found.getInt in interface ConfigurationStrategyconfigurationKey - the configuration key. MUST NOT BE NULL.public final String getString(ConfigurationKey<String> configurationKey)
ConfigurationStrategyConfigurationKey.getDefaultValue() if nothing can be found.getString in interface ConfigurationStrategyconfigurationKey - the configuration key. MUST NOT BE NULL.public <T> Class<? extends T> getClass(ConfigurationKey<Class<? extends T>> configurationKey)
ConfigurationStrategyConfigurationKey.getDefaultValue() if nothing can be found.getClass in interface ConfigurationStrategyconfigurationKey - the configuration key. MUST NOT BE NULL.protected abstract String get(ConfigurationKey configurationKey)
configurationKey - the key to retrieve. MUST NOT BE NULL.Copyright © 2006–2021 Jasig. All rights reserved.