com.ibm.commerce.marketing.promotion.runtime

Class StaticSequenceBuilder

  • java.lang.Object
    • com.ibm.commerce.marketing.promotion.runtime.StaticSequenceBuilder
  • All Implemented Interfaces:
    PromotionExecutionSequenceBuilder, XMLizable, java.io.Serializable


    public class StaticSequenceBuilder
    extends java.lang.Object
    implements PromotionExecutionSequenceBuilder
    A sequence builder for promotion engine. The following rules are observed:
    1. A promotion, which is specified in a group defined more early in the promotion invocation template, is invoked first. A promotion, which is in a group defined later in the template, will be invoked after.
    2. For promotions in the same group, when all is equal, the one with a higher priority will be invoked first. The one with a lower priority will be invoked after.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Vector buildSequence(PromotionContext context)
      Builds the sequences in which promotions are attempted at runtime.
      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