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