public class MessageEventReceivedCmd extends NeedsActiveExecutionCmd<Void>
Modifier and Type | Field and Description |
---|---|
protected boolean |
async |
protected String |
messageName |
protected Serializable |
payload |
executionId
Constructor and Description |
---|
MessageEventReceivedCmd(String messageName,
String executionId,
boolean async) |
MessageEventReceivedCmd(String messageName,
String executionId,
Map<String,Object> processVariables) |
Modifier and Type | Method and Description |
---|---|
protected Void |
execute(CommandContext commandContext,
ExecutionEntity execution)
Subclasses should implement this method.
|
execute, getSuspendedExceptionMessage
protected final Serializable payload
protected final String messageName
protected final boolean async
public MessageEventReceivedCmd(String messageName, String executionId, Map<String,Object> processVariables)
protected Void execute(CommandContext commandContext, ExecutionEntity execution)
NeedsActiveExecutionCmd
ExecutionEntity
is guaranteed to be active (ie. not suspended).execute
in class NeedsActiveExecutionCmd<Void>
Copyright © 2016 Alfresco. All rights reserved.