Interface ConfigurationData
@ProviderType
public interface ConfigurationData
Provides access to the configuration data and metadata for a given context path.
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
In case of configuration resource collection, this returns the collection item resource name.@NotNull String
Get configuration name.@NotNull ValueMap
Configuration values stored for the given context path merged with inherited values and default values.List of effective property names defined in configuration metadata or values are defined for.@Nullable String
@Nullable ValueInfo<?>
getValueInfo
(String propertyName) Get detailed metadata information about the property value.@NotNull ValueMap
Configuration values stored for the given context path.boolean
boolean
-
Method Details
-
getConfigName
Get configuration name.- Returns:
- Configuration name
-
getCollectionItemName
In case of configuration resource collection, this returns the collection item resource name.- Returns:
- Item resource name or null if it is a singleton resource.
-
getResourcePath
- Returns:
- Path of the configuration resource or null if it cannot be determined.
-
getPropertyNames
List of effective property names defined in configuration metadata or values are defined for.- Returns:
- Property names
-
getValues
Configuration values stored for the given context path. No inherited values. No default values. The properties of the resource identified bygetResourcePath()
are returned. If this resources does not exist, the map is empty.- Returns:
- Values
-
getEffectiveValues
Configuration values stored for the given context path merged with inherited values and default values.- Returns:
- Values
-
getValueInfo
Get detailed metadata information about the property value.- Parameters:
propertyName
- Property name- Returns:
- Value information. Null if neither property metadata nor an existing value exists.
-
isInherited
boolean isInherited()- Returns:
- true if the whole configuration is inherited.
-
isOverridden
boolean isOverridden()- Returns:
- true if the whole configuration is overridden by an configuration override provider.
-