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
|
Set<Attribute<?>> |
getAttributes()
Returns all search attributes referenced by this instance
|
Collection<?> |
values()
Return values.
|
and, getExtractor, 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 namespublic Set<Attribute<?>> getAttributes()
BaseCriteria
getAttributes
in class BaseCriteria
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.