com.ibm.commerce.marketing.promotion.condition

Class DummyPatternFilter

  • java.lang.Object
    • com.ibm.commerce.marketing.promotion.condition.DummyPatternFilter
  • All Implemented Interfaces:
    PatternFilter, XMLizable, java.io.Serializable


    public class DummyPatternFilter
    extends java.lang.Object
    implements PatternFilter
    DummyPatternFilter class provides dummy implementation for PatternFilter interface. It doesn't do any filtration on the LineItemSet passed as input but returns true always. XML Snippet for this type of PatternFilter.
     <PatternFilter impl="com.ibm.commerce.marketing.promotion.condition.DummyPatternFilter"/>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DummyPatternFilter()
      Constructor for DummyPatternFilter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean evaluate(LineItemSet input, PromotionContext context)
      This method checks if the LineItemSet passed as input satisfies the condition specified in the filter.
      void fromXML(org.w3c.dom.Node anXMLNode)
      Transforms the XML node into its corresponding real Object.
      java.lang.String toXML()
      Converts the object into its corresponding XML format representation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait