Class IsNull

  • All Implemented Interfaces:
    Criteria

    public class IsNull
    extends BaseCriteria
    Tests whether the value of attribute with given name is null
    Author:
    vfunshte
    • Constructor Summary

      Constructors 
      Constructor Description
      IsNull​(java.lang.String attributeName)  
    • Constructor Detail

      • IsNull

        public IsNull​(java.lang.String attributeName)
        Parameters:
        attributeName -
    • Method Detail

      • getAttributeName

        public java.lang.String getAttributeName()
        Get attribute name.
        Returns:
        attribute name.
      • execute

        public boolean execute​(Element e,
                               java.util.Map<java.lang.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