Package org.apache.sling.caconfig.spi
Interface ConfigurationMetadataProvider
-
- All Known Subinterfaces:
ConfigurationMetadataProviderMultiplexer
@ConsumerType public interface ConfigurationMetadataProvider
Allows applications to provide the necessary metadata for configurations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ConfigurationMetadata
getConfigurationMetadata(java.lang.String configName)
Get configuration metadata.@NotNull java.util.SortedSet<java.lang.String>
getConfigurationNames()
Get all configuration names.
-
-
-
Method Detail
-
getConfigurationNames
@NotNull @NotNull java.util.SortedSet<java.lang.String> getConfigurationNames()
Get all configuration names.- Returns:
- Configuration names
-
getConfigurationMetadata
@Nullable @Nullable ConfigurationMetadata getConfigurationMetadata(java.lang.String configName)
Get configuration metadata.- Parameters:
configName
- Configuration name- Returns:
- Configuration metadata or null if none exists for the given name.
-
-