Package org.flowable.engine.impl.cmd
Class SubmitTaskFormCmd
- java.lang.Object
-
- org.flowable.engine.impl.cmd.NeedsActiveTaskCmd<Void>
-
- org.flowable.engine.impl.cmd.SubmitTaskFormCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class SubmitTaskFormCmd extends NeedsActiveTaskCmd<Void>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancompleteTaskprotected Map<String,String>propertiesprotected StringtaskId
-
Constructor Summary
Constructors Constructor Description SubmitTaskFormCmd(String taskId, Map<String,String> properties, boolean completeTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Voidexecute(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.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
-
-
-
Method Detail
-
execute
protected Void 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<Void>
-
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<Void>
-
-