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
|
replacesprotected AllowAllowNotConstraint(boolean is)
protected AllowAllowNotConstraint(boolean allows,
boolean allowsNot)
public boolean violates(Constraint other, Action.ActionEffect actionEffect)
Constraintother - the other constraintactionEffect - the effect being evaluatedtrue if the combination of constraints is a violationCopyright © 2022 JBoss by Red Hat. All rights reserved.