Class SystemPropertyConfigurationOverrideProvider

java.lang.Object
org.apache.sling.caconfig.impl.override.SystemPropertyConfigurationOverrideProvider
All Implemented Interfaces:
ConfigurationOverrideProvider

public final class SystemPropertyConfigurationOverrideProvider extends Object implements ConfigurationOverrideProvider
Provides parameter override map from system properties.
  • Field Details

    • SYSTEM_PROPERTY_PREFIX

      public static final String SYSTEM_PROPERTY_PREFIX
      Prefix for override system property
      See Also:
  • Constructor Details

    • SystemPropertyConfigurationOverrideProvider

      public SystemPropertyConfigurationOverrideProvider()
  • Method Details

    • getOverrideStrings

      @NotNull public @NotNull Collection<String> getOverrideStrings()
      Description copied from interface: ConfigurationOverrideProvider
      Get override strings. Syntax examples:
      • {configName}/{propertyName}={propertyJsonValue}
      • {configName}={propertyJsonObject}
      • [{contextPath}]{configName}/{propertyName}={propertyJsonValue}
      • [{contextPath}]{configName}={propertyJsonObject}
      Specified by:
      getOverrideStrings in interface ConfigurationOverrideProvider
      Returns:
      Override strings