Class ReplacePropertyAction
java.lang.Object
org.wildfly.security.manager.action.ReplacePropertyAction
- All Implemented Interfaces:
PrivilegedAction<String>
A privileged action for setting a system property only if it is set to another value.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionReplacePropertyAction(String propertyName, String value) Construct a new instance. -
Method Summary
-
Constructor Details
-
ReplacePropertyAction
Construct a new instance.- Parameters:
propertyName- the property name to setvalue- the value to use
-
-
Method Details
-
run
- Specified by:
runin interfacePrivilegedAction<String>
-