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, setOccur
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBoost, getOccur, setBoost, setOccur
public BaseDisjunction(List<Constraint> constraints)
public List<Constraint> getConstraints()
Disjunction
getConstraints
in interface Disjunction
public boolean evaluate()
evaluate
in interface Constraint
Copyright © 2005–2017 Alfresco Software. All rights reserved.