public class CompleteTaskCmd extends NeedsActiveTaskCmd<Void>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
localScope |
protected Map<String,Object> |
variables |
taskId| Constructor and Description |
|---|
CompleteTaskCmd(String taskId,
Map<String,Object> variables) |
CompleteTaskCmd(String taskId,
Map<String,Object> variables,
boolean localScope) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
execute(CommandContext commandContext,
TaskEntity task)
Subclasses must implement in this method their normal command logic.
|
protected String |
getSuspendedTaskException()
Subclasses can override this method to provide a customized exception message
that will be thrown when the task is suspended.
|
executeprotected Void execute(CommandContext commandContext, TaskEntity task)
NeedsActiveTaskCmdexecute in class NeedsActiveTaskCmd<Void>protected String getSuspendedTaskException()
NeedsActiveTaskCmdgetSuspendedTaskException in class NeedsActiveTaskCmd<Void>Copyright © 2016 Alfresco. All rights reserved.