Class CompleteTaskWithFormCmd
java.lang.Object
org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd<Void>
org.flowable.cmmn.engine.impl.cmd.CompleteTaskWithFormCmd
- All Implemented Interfaces:
Serializable,Command<Void>
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected Stringprotected StringFields inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
taskId -
Constructor Summary
ConstructorsConstructorDescriptionCompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables, boolean localScope) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables, Map<String, Object> transientVariables) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables, Map<String, Object> variablesLocal, Map<String, Object> transientVariables, Map<String, Object> transientVariablesLocal) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String, Object> variables) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String, Object> variables, boolean localScope) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String, Object> variables, Map<String, Object> transientVariables) CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String, Object> variables, Map<String, Object> variablesLocal, Map<String, Object> transientVariables, Map<String, Object> transientVariablesLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompleteTask(CommandContext commandContext, TaskEntity task, Map<String, Object> taskVariables) protected 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.protected booleanMethods inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
Field Details
-
formDefinitionId
-
outcome
-
userId
-
variables
-
variablesLocal
-
transientVariables
-
transientVariablesLocal
-
localScope
protected boolean localScope
-
-
Constructor Details
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
-
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>
-
isFormFieldValidationEnabled
-
completeTask
protected void completeTask(CommandContext commandContext, TaskEntity task, Map<String, Object> taskVariables) -
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>
-