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