Class AbstractConstraint
java.lang.Object
org.jboss.as.controller.access.constraint.AbstractConstraint
- All Implemented Interfaces:
Constraint
- Direct Known Subclasses:
AllowAllowNotConstraint,HostEffectConstraint,ServerGroupEffectConstraint
Base class for
Constraint implementations.- Author:
- Brian Stansberry (c) 2013 Red Hat Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanreplaces(Constraint other) Gets whether this constraint is equivalent to and can thus replace another constraint in aManagementPermission.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.access.constraint.Constraint
violates
-
Constructor Details
-
AbstractConstraint
protected AbstractConstraint()
-
-
Method Details
-
replaces
Gets whether this constraint is equivalent to and can thus replace another constraint in aManagementPermission.This default implementation always returns
false.- Specified by:
replacesin interfaceConstraint- Parameters:
other- the other constraint- Returns:
false, always
-