public class SimulatedPromotionEvaluationTaskCmdImpl extends TaskCommandImpl implements SimulatedPromotionEvaluationTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
SimulatedPromotionEvaluationTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected com.ibm.commerce.marketing.promotion.runtime.AdvancedPromotionEngine | getAdvancedPromotionEngine()
Gets the AdvancedPromotionEngineobject.
|
PromotionArgument | getEvaluationResult()
Gets the promotion evaluation result.
|
protected Order | getOrder()
Gets the Order for evaluation.
|
protected java.util.List<java.lang.String> | getPromotionIDs()
Gets the List of the Promotion IDs.
|
protected java.lang.String | getPromotionTemplateName()
Gets the promotion template name.
|
protected java.util.Map | getSimulatedConfiguration()
Gets the list of simulated components
|
void | performExecute()
This method evaluates the simulated order.
|
void | setOrder(Order order)
Sets simulated order.
|
void | setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
Sets a list of promotion IDs that will be evaluated.
|
void | setPromotionTemplateName(java.lang.String templateName)
Sets the promotion template name.
|
void | setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
Sets the optional simulated configurations.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public SimulatedPromotionEvaluationTaskCmdImpl()
public void performExecute() throws ECException
public PromotionArgument getEvaluationResult()
protected java.util.List<java.lang.String> getPromotionIDs()
protected java.lang.String getPromotionTemplateName()
public void setPromotionTemplateName(java.lang.String templateName)
public void setOrder(Order order)
protected Order getOrder()
protected com.ibm.commerce.marketing.promotion.runtime.AdvancedPromotionEngine getAdvancedPromotionEngine()
public void setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
protected java.util.Map getSimulatedConfiguration()
public void setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)