public class SetTaskVariablesCmd extends NeedsActiveTaskCmd<Object>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isLocal |
protected Map<String,? extends Object> |
variables |
taskId| Constructor and Description |
|---|
SetTaskVariablesCmd(String taskId,
Map<String,? extends Object> variables,
boolean isLocal) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
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 Object execute(CommandContext commandContext, TaskEntity task)
NeedsActiveTaskCmdexecute in class NeedsActiveTaskCmd<Object>protected String getSuspendedTaskException()
NeedsActiveTaskCmdgetSuspendedTaskException in class NeedsActiveTaskCmd<Object>Copyright © 2016 Alfresco. All rights reserved.