T - the target configuration data typepublic interface ConfigurationMetadataRetriever<T>
Source, Mapper, and other attributes.| Modifier and Type | Method and Description |
|---|---|
Mapper<T> |
getMapper()
Returns the
Mapper object associated with this Configuration. |
String |
getNamespace()
Returns the namespace defined for this
Configuration object. |
int |
getPrecedence()
Returns the precedence value defined for this
Configuration object. |
Source<T> |
getSource()
Returns the
Source object associated with this Configuration. |
boolean |
isLazy()
Returns a flag indicating whether this
Configuration is lazy, i.e., not loaded
until needed. |
boolean |
isOptional()
Returns a flag indicating whether this
Configuration is optional. |
String getNamespace()
Configuration object.Configurationint getPrecedence()
Configuration object.
In a common container, objects with higher-precedence may be selected first in case of key collision.
ConfigurationSource<T> getSource()
Source object associated with this Configuration.Source instanceMapper<T> getMapper()
Mapper object associated with this Configuration.Mapper instanceboolean isOptional()
Configuration is optional.
An optional Configuration object may behave quietly in the event of a failure
to load the data.
true if this Configuration setup is optional; false,
otherwiseboolean isLazy()
Configuration is lazy, i.e., not loaded
until needed.true if this Configuration is lazy; false, otherwiseCopyright © 2023. All rights reserved.