T - the source type which configuration data is to be retrievedpublic interface ConfigurationHelper<T> extends ConfigurationDataRetriever<T>
Configuration objects.| Modifier and Type | Method and Description |
|---|---|
ConfigurationMerger<T> |
configurationMerger()
Creates the applicable
ConfigurationMerger object for the type associated with
this ConfigurationHelper. |
static <T> ConfigurationHelper<T> |
newInstance(T bean,
Mapper<T> mapper)
Creates a new
ConfigurationHelper for the given Mapper. |
get, getBean, getBoolean, getDouble, getInteger, getLong, getMandatoryBoolean, getMandatoryDouble, getMandatoryInteger, getMandatoryLong, getMandatoryString, getStringstatic <T> ConfigurationHelper<T> newInstance(T bean, Mapper<T> mapper)
ConfigurationHelper for the given Mapper.
If the specified bean is null, a NullConfigurationHelper will
be instantiated.
bean - the bean to be evaluated; may be nullmapper - the Mapper whose helper should be instantiated; not nullConfigurationHelper instance for the specified MapperNullPointerException - if the specified mapper is nullConfigurationMerger<T> configurationMerger()
ConfigurationMerger object for the type associated with
this ConfigurationHelper.ConfigurationMerger instanceCopyright © 2022. All rights reserved.