Package com.flowable.app.engine.impl.cmd
Class NeedsAppDefinitionCmd<T>
- java.lang.Object
-
- com.flowable.app.engine.impl.cmd.NeedsAppDefinitionCmd<T>
-
- All Implemented Interfaces:
Serializable
,Command<T>
- Direct Known Subclasses:
AddIdentityLinkCmd
,DeleteIdentityLinkCmd
public abstract class NeedsAppDefinitionCmd<T> extends Object implements Command<T>, Serializable
An abstract superclass forCommand
implementations that want to verify the provided app is always active (ie. not suspended).- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
appDefinitionId
-
Constructor Summary
Constructors Constructor Description NeedsAppDefinitionCmd(String appDefinitionId)
-
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, AppDefinition appDefinition)
Subclasses must implement in this method their normal command logic.
-
-
-
Field Detail
-
appDefinitionId
protected String appDefinitionId
-
-
Constructor Detail
-
NeedsAppDefinitionCmd
public NeedsAppDefinitionCmd(String appDefinitionId)
-
-
Method Detail
-
execute
public T execute(CommandContext commandContext)
-
execute
protected abstract T execute(CommandContext commandContext, AppDefinition appDefinition)
Subclasses must implement in this method their normal command logic.
-
-