Package org.flowable.engine.impl.cmd
Class SetExecutionVariablesCmd
java.lang.Object
org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd<Object>
org.flowable.engine.impl.cmd.SetExecutionVariablesCmd
- All Implemented Interfaces:
Serializable
,Command<Object>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Fields inherited from class org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd
executionId
-
Constructor Summary
ConstructorsConstructorDescriptionSetExecutionVariablesCmd
(String executionId, Map<String, ? extends Object> variables, boolean isLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
execute
(CommandContext commandContext, ExecutionEntity execution) Subclasses should implement this method.protected String
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.Methods inherited from class org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd
execute
-
Field Details
-
variables
-
isLocal
protected boolean isLocal
-
-
Constructor Details
-
SetExecutionVariablesCmd
-
-
Method Details
-
execute
Description copied from class:NeedsActiveExecutionCmd
Subclasses should implement this method. The providedExecutionEntity
is guaranteed to be active (ie. not suspended).- Specified by:
execute
in classNeedsActiveExecutionCmd<Object>
-
getSuspendedExceptionMessagePrefix
Description copied from class:NeedsActiveExecutionCmd
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.- Overrides:
getSuspendedExceptionMessagePrefix
in classNeedsActiveExecutionCmd<Object>
-