public interface ConfigValue
Holds information about the configuration property name, configuration value, the
ConfigSource
name from where the configuration property was loaded and
the ordinal of the ConfigSource
.
This is used together with Config
to expose the configuration property lookup metadata.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of the property.
|
java.lang.String |
getRawValue()
The value of the property lookup without any transformation (expanded , etc).
|
java.lang.String |
getSourceName()
The
ConfigSource name that loaded the property lookup. |
int |
getSourceOrdinal()
The
ConfigSource ordinal that loaded the property lookup. |
java.lang.String |
getValue()
The value of the property lookup with transformations (expanded, etc).
|
java.lang.String getName()
java.lang.String getValue()
null
if the property could not be foundjava.lang.String getRawValue()
null
if the property could not be found.java.lang.String getSourceName()
ConfigSource
name that loaded the property lookup.null
if the property could not be foundint getSourceOrdinal()
ConfigSource
ordinal that loaded the property lookup.0
if the property could not be found