public class Or extends BaseCriteria
Modifier | Constructor and Description |
---|---|
|
Or(Criteria lhs,
Criteria rhs)
Simple constructor for two criteria
|
private |
Or(Or original,
Criteria additional) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
Criteria[] |
getCriterion()
Return criteria
|
Criteria |
or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
and, getExtractor, not
private final Criteria[] criteria
public Or(Criteria lhs, Criteria rhs)
lhs
- the left hand side of the "or" expressionrhs
- the right hand side of the "or" expressionpublic Criteria or(Criteria other)
or
in interface Criteria
or
in class BaseCriteria
public Criteria[] getCriterion()
public boolean execute(Element e, java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value names