Interface SystemPropertiesService

All Known Implementing Classes:
SystemPropertiesServiceImpl, SystemPropertiesServiceInternalImpl

public interface SystemPropertiesService
Allows to manage system properties.
  • Field Details

    • PROPERTY_NAME_ALLOWED_PATTERN

      static final String PROPERTY_NAME_ALLOWED_PATTERN
      Allowed pattern for property names.
      See Also:
  • Method Details

    • getSystemProperties

      Map<String,String> getSystemProperties(List<String> propertyNames)
      Get system properties for the given keys.
      Parameters:
      propertyNames - the property names
      Returns:
      a map with the requested properties
    • setSystemProperties

      void setSystemProperties(Map<String,String> properties)
      Set system properties. The non-null property value will be set/updated, while properties with null values will be deleted.
      Parameters:
      properties - a map with the property names and their corresponding values