Package org.activiti.engine.impl.cmd
Class TriggerCmd
java.lang.Object
org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd<Object>
org.activiti.engine.impl.cmd.TriggerCmd
- All Implemented Interfaces:
Serializable,Command<Object>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
executionId -
Constructor Summary
ConstructorsConstructorDescriptionTriggerCmd(String executionId, Map<String, Object> processVariables) TriggerCmd(String executionId, Map<String, Object> processVariables, Map<String, Object> transientVariables) TriggerCmd(String executionId, Map<String, Object> availableVariables, VariablesPropagator variablesPropagator) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
execute
-
Field Details
-
processVariables
-
transientVariables
-
-
Constructor Details
-
TriggerCmd
-
TriggerCmd
-
TriggerCmd
public TriggerCmd(String executionId, Map<String, Object> availableVariables, VariablesPropagator variablesPropagator)
-
-
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>
-
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>
-