Class ReplacePropertyAction
- java.lang.Object
-
- org.wildfly.security.manager.action.ReplacePropertyAction
-
- All Implemented Interfaces:
PrivilegedAction<String>
public final class ReplacePropertyAction extends Object implements PrivilegedAction<String>
A privileged action for setting a system property only if it is set to another value.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ReplacePropertyAction(String propertyName, String value)
Construct a new instance.
-
-
-
Method Detail
-
run
public String run()
- Specified by:
run
in interfacePrivilegedAction<String>
-
-