Package org.apache.sling.caconfig.spi
Class ConfigurationCollectionPersistData
- java.lang.Object
-
- org.apache.sling.caconfig.spi.ConfigurationCollectionPersistData
-
@ProviderType public final class ConfigurationCollectionPersistData extends java.lang.Object
Data for persisting configuration collections.
-
-
Constructor Summary
Constructors Constructor Description ConfigurationCollectionPersistData(@NotNull java.util.Collection<ConfigurationPersistData> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.Collection<ConfigurationPersistData>
getItems()
@Nullable java.util.Map<java.lang.String,java.lang.Object>
getProperties()
ConfigurationCollectionPersistData
properties(java.util.Map<java.lang.String,java.lang.Object> value)
-
-
-
Constructor Detail
-
ConfigurationCollectionPersistData
public ConfigurationCollectionPersistData(@NotNull @NotNull java.util.Collection<ConfigurationPersistData> items)
- Parameters:
items
- Collection of configuration collection items
-
-
Method Detail
-
getItems
@NotNull public @NotNull java.util.Collection<ConfigurationPersistData> getItems()
- Returns:
- Collection of configuration collection items
-
getProperties
@Nullable public @Nullable java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Returns:
- Properties for the configuration collection itself. Does not contain configuration data, but control data e.g. for enabling collection inheritance.
-
properties
public ConfigurationCollectionPersistData properties(java.util.Map<java.lang.String,java.lang.Object> value)
- Parameters:
value
- Properties for the configuration collection itself. Does not contain configuration data, but control data e.g. for enabling collection inheritance.- Returns:
- this
-
-