public class InCollection extends BaseCriteria
Constructor and Description |
---|
InCollection(String attributeName,
Collection<?> values)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
String |
getAttributeName()
Return attributeName
|
Collection<?> |
values()
Return values.
|
and, not, or
public InCollection(String attributeName, Collection<?> values)
attributeName
- attribute namevalues
- public String getAttributeName()
public Collection<?> values()
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value namesCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.