Class WritePropertyIfAbsentAction

java.lang.Object
org.wildfly.security.manager.action.WritePropertyIfAbsentAction
All Implemented Interfaces:
PrivilegedAction<String>

public final class WritePropertyIfAbsentAction extends Object implements PrivilegedAction<String>
A privileged action for setting a system property if it is absent.
Author:
David M. Lloyd
  • Constructor Details

    • WritePropertyIfAbsentAction

      public WritePropertyIfAbsentAction(String propertyName, String value)
      Construct a new instance.
      Parameters:
      propertyName - the property name to set
      value - the value to use
  • Method Details