Package org.activiti.engine.impl.cmd
Class SetExecutionVariablesCmd
- java.lang.Object
-
- org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd<Object>
-
- org.activiti.engine.impl.cmd.SetExecutionVariablesCmd
-
- All Implemented Interfaces:
Serializable,Command<Object>
public class SetExecutionVariablesCmd extends NeedsActiveExecutionCmd<Object>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisLocalprotected Map<String,? extends Object>variables-
Fields inherited from class org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
executionId
-
-
Constructor Summary
Constructors Constructor Description SetExecutionVariablesCmd(String executionId, Map<String,? extends Object> variables, boolean isLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Objectexecute(CommandContext commandContext, ExecutionEntity execution)Subclasses should implement this method.protected StringgetSuspendedExceptionMessage()Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.-
Methods inherited from class org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
execute
-
-
-
-
Method Detail
-
execute
protected Object execute(CommandContext commandContext, ExecutionEntity execution)
Description copied from class:NeedsActiveExecutionCmdSubclasses should implement this method. The providedExecutionEntityis guaranteed to be active (ie. not suspended).- Specified by:
executein classNeedsActiveExecutionCmd<Object>
-
getSuspendedExceptionMessage
protected String getSuspendedExceptionMessage()
Description copied from class:NeedsActiveExecutionCmdSubclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.- Overrides:
getSuspendedExceptionMessagein classNeedsActiveExecutionCmd<Object>
-
-