public class TriggerCmd extends NeedsActiveExecutionCmd<Object>
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
processVariables |
protected Map<String,Object> |
transientVariables |
executionId
Constructor and Description |
---|
TriggerCmd(String executionId,
Map<String,Object> processVariables) |
TriggerCmd(String executionId,
Map<String,Object> processVariables,
Map<String,Object> transientVariables) |
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 Flowable. All rights reserved.