Class NotEqualTo

  • All Implemented Interfaces:
    Criteria

    public class NotEqualTo
    extends EqualTo
    Criteria for plain "not equals to" condition
    Author:
    teck
    • Constructor Detail

      • NotEqualTo

        public NotEqualTo​(java.lang.String attributeName,
                          java.lang.Object value)
        Constructor
        Parameters:
        attributeName - attribute name
        value -
    • Method Detail

      • execute

        public boolean execute​(Element e,
                               java.util.Map<java.lang.String,​AttributeExtractor> attributeExtractors)
        Test this criteria against a cache element
        Specified by:
        execute in interface Criteria
        Overrides:
        execute in class EqualTo
        Parameters:
        e - cache element
        attributeExtractors - map of attribute extractors to attribute value names
        Returns:
        true if the criteria matches this element