Class SystemProperties

java.lang.Object
org.apache.maven.properties.internal.SystemProperties

public class SystemProperties extends Object
Since:
3.2.3
  • Constructor Details

    • SystemProperties

      public SystemProperties()
  • Method Details

    • addSystemProperties

      public static void addSystemProperties(Properties props)
      Thread-safe System.properties copy implementation.
    • getSystemProperties

      public static Properties getSystemProperties()
      Returns a copy of System.getProperties() in a thread-safe manner.
      Returns:
      System.getProperties() obtained in a thread-safe manner.
    • copyProperties

      public static Properties copyProperties(Properties properties)
      Copies the given Properties object into a new Properties object, in a thread-safe manner.
      Parameters:
      properties - Properties to copy.
      Returns:
      Copy of the given properties.