Class SystemProperties
java.lang.Object
org.apache.maven.properties.internal.SystemProperties
- Since:
- 3.2.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addSystemProperties
(Properties props) Thread-safe System.properties copy implementation.static Properties
copyProperties
(Properties properties) Copies the givenProperties
object into a newProperties
object, in a thread-safe manner.static Properties
Returns a copy ofSystem.getProperties()
in a thread-safe manner.
-
Constructor Details
-
SystemProperties
public SystemProperties()
-
-
Method Details
-
addSystemProperties
Thread-safe System.properties copy implementation. -
getSystemProperties
Returns a copy ofSystem.getProperties()
in a thread-safe manner.- Returns:
System.getProperties()
obtained in a thread-safe manner.
-
copyProperties
Copies the givenProperties
object into a newProperties
object, in a thread-safe manner.- Parameters:
properties
- Properties to copy.- Returns:
- Copy of the given properties.
-