T - the source type which configuration data is to be retrievedpublic abstract class BasicConfigurationHelper<T> extends AbstractBasicConfigurationHelper<T>
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
getBean()
Returns the target configuration object used by this data retriever, typically for
manual handling and/or troubleshooting purposes.
|
boolean |
getBoolean(String key)
Returns the
boolean value associated with the specified key. |
double |
getDouble(String key)
Returns the
double value associated with the specified key. |
int |
getInt(String key)
Returns the
int value associated with the specified key. |
long |
getLong(String key)
Returns the
long value associated with the specified key. |
setNullValueProviderequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStringpublic Optional<T> getBean()
ConfigurationDataRetrieverOptional, possibly containing the target configuration objectpublic boolean getBoolean(String key)
ConfigurationDataRetrieverboolean value associated with the specified key.key - the property keyboolean value associated with the specified keypublic int getInt(String key)
ConfigurationDataRetrieverint value associated with the specified key.key - the property keyint value associated with the specified keypublic long getLong(String key)
ConfigurationDataRetrieverlong value associated with the specified key.key - the property keylong value associated with the specified keypublic double getDouble(String key)
ConfigurationDataRetrieverdouble value associated with the specified key.key - the property keydouble value associated with the specified keyCopyright © 2021. All rights reserved.