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 forCommandimplementations 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 StringappDefinitionId
-
Constructor Summary
Constructors Constructor Description NeedsAppDefinitionCmd(String appDefinitionId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Texecute(CommandContext commandContext)protected abstract Texecute(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.
-
-