public class ProcessCommandExitFactory
extends java.lang.Object
implements com.ibm.commerce.command.event.CommandExecutionEventFactory
processOnCommandExit
. When an
activity is created that requires the command exit to call the marketing
runtime, then a command execution trigger will be enabled for the configured
command.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice.
|
Constructor and Description |
---|
ProcessCommandExitFactory()
This method is the default constructor, and calls the base class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
generateEvent(ECCommand command,
int eventType,
java.lang.String eventName,
java.io.Serializable customData)
This method checks if there is a behavior rule set up based on the command executed and the stage
of execution, and calls the marketing trigger handler to process the trigger if there is a match.
|
public static final java.lang.String COPYRIGHT
public ProcessCommandExitFactory()
public void generateEvent(ECCommand command, int eventType, java.lang.String eventName, java.io.Serializable customData)
generateEvent
in interface com.ibm.commerce.command.event.CommandExecutionEventFactory
command
- The command being executed.eventType
- The stage of command execution when the audit event occurs.eventName
- The name of the event.customData
- Any custom data associated with the event.CommandExecutionEventFactory.generateEvent(com.ibm.commerce.command.ECCommand, int, java.lang.String, java.io.Serializable)