Package org.activiti.engine.impl.cmd
Class SetExecutionVariablesCmd
- java.lang.Object
-
- org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd<java.lang.Object>
-
- org.activiti.engine.impl.cmd.SetExecutionVariablesCmd
-
- All Implemented Interfaces:
java.io.Serializable,Command<java.lang.Object>
public class SetExecutionVariablesCmd extends NeedsActiveExecutionCmd<java.lang.Object>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisLocalprotected java.util.Map<java.lang.String,? extends java.lang.Object>variables-
Fields inherited from class org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
executionId
-
-
Constructor Summary
Constructors Constructor Description SetExecutionVariablesCmd(java.lang.String executionId, java.util.Map<java.lang.String,? extends java.lang.Object> variables, boolean isLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objectexecute(CommandContext commandContext, ExecutionEntity execution)Subclasses should implement this method.protected java.lang.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 java.lang.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<java.lang.Object>
-
getSuspendedExceptionMessage
protected java.lang.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<java.lang.Object>
-
-