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 forConstraint
implementations.- Author:
- Brian Stansberry (c) 2013 Red Hat Inc.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
replaces(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, wait
-
Methods inherited from interface org.jboss.as.controller.access.constraint.Constraint
violates
-
-
-
-
Method Detail
-
replaces
public boolean replaces(Constraint other)
Gets whether this constraint is equivalent to and can thus replace another constraint in aManagementPermission
.This default implementation always returns
false
.- Specified by:
replaces
in interfaceConstraint
- Parameters:
other
- the other constraint- Returns:
false
, always
-
-