Package org.flowable.engine.impl.cmd
Class SetTaskVariablesCmd
java.lang.Object
org.flowable.engine.impl.cmd.NeedsActiveTaskCmd<Object>
org.flowable.engine.impl.cmd.SetTaskVariablesCmd
- All Implemented Interfaces:
Serializable,Command<Object>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanFields inherited from class org.flowable.engine.impl.cmd.NeedsActiveTaskCmd
taskId -
Constructor Summary
ConstructorsConstructorDescriptionSetTaskVariablesCmd(String taskId, Map<String, ? extends Object> variables, boolean isLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectexecute(CommandContext commandContext, TaskEntity task) Subclasses must implement in this method their normal command logic.protected StringSubclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.Methods inherited from class org.flowable.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
Field Details
-
variables
-
isLocal
protected boolean isLocal
-
-
Constructor Details
-
SetTaskVariablesCmd
-
-
Method Details
-
execute
Description copied from class:NeedsActiveTaskCmdSubclasses must implement in this method their normal command logic. The provided task is ensured to be active.- Specified by:
executein classNeedsActiveTaskCmd<Object>
-
getSuspendedTaskExceptionPrefix
Description copied from class:NeedsActiveTaskCmdSubclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.- Overrides:
getSuspendedTaskExceptionPrefixin classNeedsActiveTaskCmd<Object>
-