public class DefaultSequenceBuilder extends java.lang.Object implements PromotionExecutionSequenceBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
DefaultSequenceBuilder()
Constructor.
|
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.
|
public static final java.lang.String COPYRIGHT
public java.util.Vector buildSequence(PromotionContext context)
PromotionExecutionSequenceBuilder
buildSequence
in interface PromotionExecutionSequenceBuilder
context
- PromotionContextPromotionExecutionSequenceBuilder.buildSequence(com.ibm.commerce.marketing.promotion.runtime.PromotionContext)
public java.lang.String toXML() throws XMLizationException
XMLizable
toXML
in interface XMLizable
XMLizationException
- when this process failsXMLizable.toXML()
public void fromXML(org.w3c.dom.Node anXMLNode) throws DeXMLizationException
XMLizable
fromXML
in interface XMLizable
anXMLNode
- The node that represents an XMLizable objectDeXMLizationException
- when this process failsXMLizable.fromXML(org.w3c.dom.Node)