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 Details

    • ReplacePropertyAction

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