public class Or extends BaseCriteria
| Constructor and Description |
|---|
Or(Criteria lhs,
Criteria rhs)
Simple constructor for two criteria
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Element e,
Map<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, notpublic Criteria or(Criteria other)
or in interface Criteriaor in class BaseCriteriapublic Criteria[] getCriterion()
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
e - cache elementattributeExtractors - map of attribute extractors to attribute value namesCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.