java.lang.Object
org.glassfish.main.jdke.props.SystemProperties
Extension for
System.setProperties(java.util.Properties) and methods around.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringsetProperty(String key, String value, boolean force) Sets a system property, logging the action.
-
Method Details
-
setProperty
Sets a system property, logging the action.- Parameters:
key- must not be null.value- if null, will remove the propertyforce- if false, will not override an existing property with the same key- Returns:
- the old value of the property, or null if it was not set before
-