public class SignalCmd extends NeedsActiveExecutionCmd<Object>
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
processVariables |
protected Object |
signalData |
protected String |
signalName |
executionId
Constructor and Description |
---|
SignalCmd(String executionId,
String signalName,
Object signalData,
Map<String,Object> processVariables) |
Modifier and Type | Method and Description |
---|---|
protected Object |
execute(CommandContext commandContext,
ExecutionEntity execution)
Subclasses should implement this method.
|
protected String |
getSuspendedExceptionMessage()
Subclasses can override this to provide a more detailed exception message
that will be thrown when the execution is suspended.
|
execute
protected Object execute(CommandContext commandContext, ExecutionEntity execution)
NeedsActiveExecutionCmd
ExecutionEntity
is guaranteed to be active (ie. not suspended).execute
in class NeedsActiveExecutionCmd<Object>
protected String getSuspendedExceptionMessage()
NeedsActiveExecutionCmd
getSuspendedExceptionMessage
in class NeedsActiveExecutionCmd<Object>
Copyright © 2016 Alfresco. All rights reserved.