public class SetExecutionVariablesCmd extends NeedsActiveExecutionCmd<Object>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isLocal |
protected Map<String,? extends Object> |
variables |
executionId| Constructor and Description |
|---|
SetExecutionVariablesCmd(String executionId,
Map<String,? extends Object> variables,
boolean isLocal) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
execute(CommandContext commandContext,
ExecutionEntity execution)
Subclasses should implement this method.
|
protected String |
getSuspendedExceptionMessage()
Subclasses can override this to provide a more detailed exception message
that will be thrown when the execution is suspended.
|
executeprotected Object execute(CommandContext commandContext, ExecutionEntity execution)
NeedsActiveExecutionCmdExecutionEntity is guaranteed to be active (ie. not suspended).execute in class NeedsActiveExecutionCmd<Object>protected String getSuspendedExceptionMessage()
NeedsActiveExecutionCmdgetSuspendedExceptionMessage in class NeedsActiveExecutionCmd<Object>Copyright © 2016 Alfresco. All rights reserved.