public interface Criteria
Modifier and Type | Method and Description |
---|---|
Criteria |
and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
boolean |
execute(Element element,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
Criteria |
not()
Produce a criteria that is the boolean "not" of this
|
Criteria |
or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
boolean execute(Element element, Map<String,AttributeExtractor> attributeExtractors)
element
- cache elementattributeExtractors
- map of attribute extractors to attribute value namesCriteria and(Criteria other)
other
- Criteria or(Criteria other)
other
- Criteria not()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.