Package org.alfresco.tas
Class SystemPropertyHelper
java.lang.Object
org.alfresco.tas.SystemPropertyHelper
A helper class with methods to access system properties, e.g. those passed via -D maven command line arguments.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetSystemProperty(String key, String defaultValue) Load the value of a property.
-
Method Details
-
getSystemProperty
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.
-