Class SetTaskVariablesCmd
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd<Object>
-
- org.flowable.cmmn.engine.impl.cmd.SetTaskVariablesCmd
-
- All Implemented Interfaces:
Serializable,Command<Object>
public class SetTaskVariablesCmd extends NeedsActiveTaskCmd<Object>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetTaskVariablesCmd(String taskId, Map<String,? extends Object> variables, boolean isLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Objectexecute(CommandContext commandContext, TaskEntity task)Subclasses must implement in this method their normal command logic.protected StringgetSuspendedTaskException()Subclasses 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.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
-
-
-
Method Detail
-
execute
protected Object execute(CommandContext commandContext, TaskEntity task)
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>
-
getSuspendedTaskException
protected String getSuspendedTaskException()
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:
getSuspendedTaskExceptionin classNeedsActiveTaskCmd<Object>
-
-