public class BranchTaskCmdImpl extends MarketingCampaignElementTaskCmdImpl implements BranchTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BRANCH_TYPE_ALL
Constant representing the "all" type of an activity branch.
|
static java.lang.String |
BRANCH_TYPE_ANY
Constant representing the "any" type of an activity branch.
|
static java.lang.String |
BRANCH_TYPE_ONE
Constant representing the "one" type of an activity branch.
|
static java.lang.String |
BRANCH_TYPE_RANDOM
Constant representing the random type of activity branch.
|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
EXPERIMENT_ENDDATE
Constant representing the experiment endDate attribute in the branch element name value pairs.
|
static java.lang.String |
EXPERIMENT_SESSIONLENGTH
Constant representing the experiment sessionLength attribute in the branch element name value pairs.
|
static java.lang.String |
EXPERIMENT_STARTDATE
Constant representing the experiment startDate attribute in the branch element name value pairs.
|
static java.lang.String |
EXPERIMENT_STATE
Constant representing the experiment state attribute in the branch element name value pairs.
|
static java.lang.String |
EXPERIMENT_STATE_ACTIVE
Constant representing the active state of an experiment.
|
static java.lang.String |
PARAM_BRANCHTYPE
Constant representing the type of an activity branch.
|
static java.lang.String |
PARAM_MAX_CUSTOMERS
Constant representing the experiment maxCustomers attribute in the branch element name value pairs.
|
static java.lang.String |
PARAM_PERCENTAGE
Constant representing the percentage for a path of a random type activity branch.
|
static java.lang.String |
PARAM_SCOPE
Constant representing the experiment scope attribute in the branch element name value pairs.
|
static java.lang.String |
SCOPE_LIFETIME
Constant representing the experiment lifetime scope attribute in the branch element name value pairs.
|
static java.lang.String |
SCOPE_REQUEST
Constant representing the experiment request scope attribute in the branch element name value pairs.
|
static java.lang.String |
SCOPE_SESSION
Constant representing the experiment session scope attribute in the branch element name value pairs.
|
DM_FROM_FORWARD_TRIGGERS_FOR_PROCESSING, EMLPROMO_NAME_PREFIX, GENERIC_USER_ID
defaultCommandClassName
Constructor and Description |
---|
BranchTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMarketingSpotBehavior(java.util.Map elementParameters)
This method returns a value of 0 to specify that this marketing campaign element
is static when the branch is a regular branch of type any or all.
|
java.util.List |
validateParameters(java.util.Map elementParameters)
This method validates that all the required name value pairs have been set for
the campaign element.
|
addEMarketingSpotDataBean, forwardTriggersForProcessing, forwardTriggersForProcessing, getActivity, getDataFromTriggerParameters, getElementId, getElementParameters, getEMarketingSpotDataBeans, getExperimentTestElements, getMarketingContent, getMemberId, getMemberId, getMemberIdsForPersonalizationId, getMemberIdsForPersonalizationId, getNewElementParameters, getPersonalizationId, getPreviewReport, getRegisteredMemberIdForPersonalizationId, getReturnValue, getStoreId, getTemporarySharedData, getTemporarySharedDataObject, getTriggerParameters, getTriggerParametersMap, getUserDataForElement, isReadyToCallExecute, performExecute, putTemporarySharedDataObject, returnEMarketingSpotDataBeans, setActivity, setElementId, setElementParameters, setExperimentTestElements, setNewElementParameter, setOutputProperties, setPreviewReport, setReturnValue, setTemporarySharedData, setTriggerParameters, setTriggerParameters, validateCategory, validateCustomerSegment, validateDates, validateElementIsFirstInActivity, validateEmailTemplate, validateMarketingContent, validateMarketingContent, validateMarketingSpot, validateProduct, validatePromotion, validatePromotionCodes, validatePromotionCodesOrCoupon, validatePromotionCoupon, validatePromotionDisplay, validateSubscription, validateTimes
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forwardTriggersForProcessing, getEMarketingSpotDataBeans, getNewElementParameters, getReturnValue, returnEMarketingSpotDataBeans, setActivity, setElementId, setElementParameters, setExperimentTestElements, setNewElementParameter, setPreviewReport, setReturnValue, setTemporarySharedData, setTriggerParameters, setTriggerParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public static final java.lang.String PARAM_BRANCHTYPE
public static final java.lang.String BRANCH_TYPE_RANDOM
public static final java.lang.String BRANCH_TYPE_ONE
public static final java.lang.String BRANCH_TYPE_ANY
public static final java.lang.String BRANCH_TYPE_ALL
public static final java.lang.String PARAM_PERCENTAGE
public static final java.lang.String PARAM_SCOPE
public static final java.lang.String SCOPE_LIFETIME
public static final java.lang.String SCOPE_SESSION
public static final java.lang.String SCOPE_REQUEST
public static final java.lang.String EXPERIMENT_STARTDATE
public static final java.lang.String EXPERIMENT_ENDDATE
public static final java.lang.String PARAM_MAX_CUSTOMERS
public static final java.lang.String EXPERIMENT_STATE
public static final java.lang.String EXPERIMENT_SESSIONLENGTH
public static final java.lang.String EXPERIMENT_STATE_ACTIVE
public java.util.List validateParameters(java.util.Map elementParameters)
branchtype
has been set.
If the scope
variable is set,
then one of endDate
or maxCustomers
needs to be set. For a random branch,
the sum of the percentages on all the paths must total 100.validateParameters
in interface MarketingCampaignElementTaskCmd
validateParameters
in class MarketingCampaignElementTaskCmdImpl
elementParameters
- The name value pairs for this element.ApplicationError
exceptions
that contains any validation errors. The list may be empty or be null
.public java.lang.String getMarketingSpotBehavior(java.util.Map elementParameters)
getMarketingSpotBehavior
in interface MarketingCampaignElementTaskCmd
getMarketingSpotBehavior
in class MarketingCampaignElementTaskCmdImpl
elementParameters
- The name value pairs for this element.