T - the configuration bean typepublic class BeanConfigurationHelper<T> extends BasicConfigurationHelper<T>
| Constructor and Description |
|---|
BeanConfigurationHelper(T source)
Builds a new Configuration Helper instance with a specific source.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMandatoryString(String key)
Returns the
String value associated with the specified key. |
String |
getString(String key)
Returns the
String value associated with the specified key. |
getBean, getBoolean, getDouble, getInt, getLong, getMandatoryBoolean, getMandatoryDouble, getMandatoryInt, getMandatoryLonggetNullValueProvider, setNullValueProviderpublic BeanConfigurationHelper(T source)
source - the source bean, mainly for exception/reporting purposespublic String getString(String key)
ConfigurationDataRetrieverString value associated with the specified key.key - not used since this method implementation is a "no-op"String value associated with the specified keyConfigurationException - always, since the data for this type of helper should be
handled by the user-defined beanpublic String getMandatoryString(String key)
ConfigurationDataRetrieverString value associated with the specified key.key - not used since this method implementation is a "no-op"String value associated with the specified keyConfigurationException - always, since the data for this type of helper should be
handled by the user-defined beanCopyright © 2021. All rights reserved.