Package org.flowable.engine.impl.cmd
Class SetAsyncExecutionVariablesCmd
java.lang.Object
org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd<Object>
org.flowable.engine.impl.cmd.SetAsyncExecutionVariablesCmd
- All Implemented Interfaces:
Serializable,Command<Object>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanFields inherited from class org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd
executionId -
Constructor Summary
ConstructorsConstructorDescriptionSetAsyncExecutionVariablesCmd(String executionId, Map<String, ? extends Object> variables, boolean isLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddVariable(boolean isLocal, String scopeId, String subScopeId, String varName, Object varValue, String tenantId, VariableService variableService) protected voidcreateSetAsyncVariablesJob(ExecutionEntity execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected Objectexecute(CommandContext commandContext, ExecutionEntity execution) Subclasses should implement this method.protected StringSubclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.Methods inherited from class org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd
execute
-
Field Details
-
variables
-
isLocal
protected boolean isLocal
-
-
Constructor Details
-
SetAsyncExecutionVariablesCmd
-
-
Method Details
-
execute
Description copied from class:NeedsActiveExecutionCmdSubclasses should implement this method. The providedExecutionEntityis guaranteed to be active (ie. not suspended).- Specified by:
executein classNeedsActiveExecutionCmd<Object>
-
addVariable
-
createSetAsyncVariablesJob
protected void createSetAsyncVariablesJob(ExecutionEntity execution, ProcessEngineConfigurationImpl processEngineConfiguration) -
getSuspendedExceptionMessagePrefix
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:
getSuspendedExceptionMessagePrefixin classNeedsActiveExecutionCmd<Object>
-