public abstract class AllowAllowNotConstraint extends AbstractConstraint
Modifier | Constructor and Description |
---|---|
protected |
AllowAllowNotConstraint(boolean is) |
protected |
AllowAllowNotConstraint(boolean allows,
boolean allowsNot) |
Modifier and Type | Method and Description |
---|---|
boolean |
violates(Constraint other,
Action.ActionEffect actionEffect)
Gets whether this constraint violates another constraint
|
replaces
protected AllowAllowNotConstraint(boolean is)
protected AllowAllowNotConstraint(boolean allows, boolean allowsNot)
public boolean violates(Constraint other, Action.ActionEffect actionEffect)
Constraint
other
- the other constraintactionEffect
- the effect being evaluatedtrue
if the combination of constraints is a violationCopyright © 2023 JBoss by Red Hat. All rights reserved.