ehcache

net.sf.ehcache.search.expression
Class NotILike

java.lang.Object
  extended by net.sf.ehcache.search.expression.BaseCriteria
      extended by net.sf.ehcache.search.expression.NotILike
All Implemented Interfaces:
Criteria

public class NotILike
extends BaseCriteria

Inverse of ILike

Author:
vfunshte

Constructor Summary
NotILike(String attributeName, String regex)
          Constructor
 
Method Summary
 boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 String getAttributeName()
          Return attribute name.
 Set<Attribute<?>> getAttributes()
          Returns all search attributes referenced by this instance
 String getRegex()
          Return regex string.
 
Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria
and, getExtractor, not, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotILike

public NotILike(String attributeName,
                String regex)
Constructor

Parameters:
attributeName -
regex -
Method Detail

execute

public boolean execute(Element e,
                       Map<String,AttributeExtractor> attributeExtractors)
Description copied from interface: Criteria
Test this criteria against a cache element

Parameters:
e - cache element
attributeExtractors - map of attribute extractors to attribute value names
Returns:
true if the criteria matches this element

getAttributeName

public String getAttributeName()
Return attribute name.

Returns:
String attribute name

getRegex

public String getRegex()
Return regex string.

Returns:
String regex.

getAttributes

public Set<Attribute<?>> getAttributes()
Description copied from class: BaseCriteria
Returns all search attributes referenced by this instance

Specified by:
getAttributes in class BaseCriteria

ehcache

Copyright 2001-2015, Terracotta, Inc.