Package org.flowable.engine.impl.cmd
Class DelegateTaskCmd
java.lang.Object
org.flowable.engine.impl.cmd.NeedsActiveTaskCmd<Object>
org.flowable.engine.impl.cmd.DelegateTaskCmd
- All Implemented Interfaces:
Serializable
,Command<Object>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.cmd.NeedsActiveTaskCmd
taskId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
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.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
Field Details
-
userId
-
-
Constructor Details
-
DelegateTaskCmd
-
-
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<Object>
-
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<Object>
-