Package org.activiti.engine.impl.cmd
Class NeedsActiveProcessDefinitionCmd<T>
- java.lang.Object
-
- org.activiti.engine.impl.cmd.NeedsActiveProcessDefinitionCmd<T>
-
- All Implemented Interfaces:
java.io.Serializable
,Command<T>
public abstract class NeedsActiveProcessDefinitionCmd<T> extends java.lang.Object implements Command<T>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
processDefinitionId
-
Constructor Summary
Constructors Constructor Description NeedsActiveProcessDefinitionCmd(java.lang.String processDefinitionId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
execute(CommandContext commandContext)
protected abstract T
execute(CommandContext commandContext, ProcessDefinitionEntity processDefinition)
Subclasses should implement this.
-
-
-
Method Detail
-
execute
public T execute(CommandContext commandContext)
-
execute
protected abstract T execute(CommandContext commandContext, ProcessDefinitionEntity processDefinition)
Subclasses should implement this. The providedProcessDefinition
is guaranteed to be an active process definition (ie. not suspended).
-
-