Class SystemPropertyHelper

java.lang.Object
org.alfresco.tas.SystemPropertyHelper

public class SystemPropertyHelper extends Object
A helper class with methods to access system properties, e.g. those passed via -D maven command line arguments.
  • Method Details

    • getSystemProperty

      public static String getSystemProperty(String key, String defaultValue)
      Load the value of a property.
      Parameters:
      key - The key to look up.
      defaultValue - The default value to use if the property is not set.
      Returns:
      The value as a string.