Class AbstractConstraint

java.lang.Object
org.jboss.as.controller.access.constraint.AbstractConstraint
All Implemented Interfaces:
Constraint
Direct Known Subclasses:
AllowAllowNotConstraint, HostEffectConstraint, ServerGroupEffectConstraint

public abstract class AbstractConstraint extends Object implements Constraint
Base class for Constraint implementations.
Author:
Brian Stansberry (c) 2013 Red Hat Inc.
  • Constructor Details

    • AbstractConstraint

      protected AbstractConstraint()
  • Method Details

    • replaces

      public boolean replaces(Constraint other)
      Gets whether this constraint is equivalent to and can thus replace another constraint in a ManagementPermission.

      This default implementation always returns false.

      Specified by:
      replaces in interface Constraint
      Parameters:
      other - the other constraint
      Returns:
      false, always