Interface SystemPropertiesService
- All Known Implementing Classes:
SystemPropertiesServiceImpl,SystemPropertiesServiceInternalImpl
public interface SystemPropertiesService
Allows to manage system properties.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetSystemProperties(List<String> propertyNames) Get system properties for the given keys.voidsetSystemProperties(Map<String, String> properties) Set system properties.
-
Field Details
-
PROPERTY_NAME_ALLOWED_PATTERN
Allowed pattern for property names.- See Also:
-
-
Method Details
-
getSystemProperties
Get system properties for the given keys.- Parameters:
propertyNames- the property names- Returns:
- a map with the requested properties
-
setSystemProperties
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
-