public class EqualTo extends BaseCriteria
| Constructor and Description |
|---|
EqualTo(String attributeName,
Object value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
String |
getAttributeName()
Get attribute name.
|
AttributeType |
getType()
Get attribute type.
|
Object |
getValue()
Get attribute value.
|
and, getExtractor, not, orpublic Object getValue()
public String getAttributeName()
public AttributeType getType()
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.