public class BaseDisjunction extends BaseConstraint implements Disjunction
Constraint.Occur| Constructor and Description |
|---|
BaseDisjunction(List<Constraint> constraints) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate() |
List<Constraint> |
getConstraints()
Get the list of constraints for which at least one must be met.
|
String |
toString() |
getBoost, getOccur, setBoost, setOccurclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBoost, getOccur, setBoost, setOccurpublic BaseDisjunction(List<Constraint> constraints)
public List<Constraint> getConstraints()
DisjunctiongetConstraints in interface Disjunctionpublic boolean evaluate()
evaluate in interface ConstraintCopyright © 2005–2019 Alfresco Software. All rights reserved.