Package org.flowable.engine.impl.cmd
Class NeedsActiveExecutionCmd<T>
java.lang.Object
org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd<T>
- All Implemented Interfaces:
Serializable
,Command<T>
- Direct Known Subclasses:
EvaluateConditionalEventsCmd
,MessageEventReceivedCmd
,RemoveExecutionVariablesCmd
,SetExecutionVariablesCmd
,TriggerCmd
- Author:
- Joram Barrez
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(CommandContext commandContext) protected abstract T
execute
(CommandContext commandContext, ExecutionEntity execution) Subclasses should implement this method.protected String
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.
-
Field Details
-
executionId
-
-
Constructor Details
-
NeedsActiveExecutionCmd
-
-
Method Details
-
execute
-
execute
Subclasses should implement this method. The providedExecutionEntity
is guaranteed to be active (ie. not suspended). -
getSuspendedExceptionMessagePrefix
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.
-