public class NotNull extends BaseCriteria
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.
|
Set<Attribute<?>> |
getAttributes()
Returns all search attributes referenced by this instance
|
and, getExtractor, not, or
public NotNull(String attributeName)
attributeName
- public String getAttributeName()
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
Criteria
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.