Class RemoveTaskVariablesCmd
java.lang.Object
org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd<Void>
org.flowable.cmmn.engine.impl.cmd.RemoveTaskVariablesCmd
- All Implemented Interfaces:
Serializable
,Command<Void>
- Author:
- Tijs Rademakers
- See Also:
-
Field Summary
Fields inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
taskId
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveTaskVariablesCmd
(String taskId, Collection<String> variableNames, boolean isLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected Void
execute
(CommandContext commandContext, TaskEntity task) Subclasses must implement in this method their normal command logic.protected String
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
-
Constructor Details
-
RemoveTaskVariablesCmd
-
-
Method Details
-
execute
Description copied from class:NeedsActiveTaskCmd
Subclasses must implement in this method their normal command logic. The provided task is ensured to be active.- Specified by:
execute
in classNeedsActiveTaskCmd<Void>
-
getSuspendedTaskExceptionPrefix
Description copied from class:NeedsActiveTaskCmd
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.- Overrides:
getSuspendedTaskExceptionPrefix
in classNeedsActiveTaskCmd<Void>
-