Class ConfigurationPersistData

java.lang.Object
org.apache.sling.caconfig.spi.ConfigurationPersistData

@ProviderType public final class ConfigurationPersistData extends Object
Data for persisting configuration properties.
  • Constructor Details

    • ConfigurationPersistData

      public ConfigurationPersistData(@NotNull @NotNull Map<String,Object> properties)
      Parameters:
      properties - Property values
  • Method Details

    • getProperties

      @NotNull public @NotNull Map<String,Object> getProperties()
      Returns:
      Property values
    • getCollectionItemName

      @Nullable public @Nullable String getCollectionItemName()
      Returns:
      Resource collection item name. To be set only for resource collection items.
    • collectionItemName

      public ConfigurationPersistData collectionItemName(String value)
      Parameters:
      value - Resource collection item name. To be set only for resource collection items.
      Returns:
      this