public abstract class NeedsAppDefinitionCmd<T> extends Object implements org.flowable.common.engine.impl.interceptor.Command<T>, Serializable
Command
implementations that want to verify the provided app is always active (ie. not suspended).Modifier and Type | Field and Description |
---|---|
protected String |
appDefinitionId |
Constructor and Description |
---|
NeedsAppDefinitionCmd(String appDefinitionId) |
Modifier and Type | Method and Description |
---|---|
T |
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected abstract T |
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
org.flowable.app.api.repository.AppDefinition appDefinition)
Subclasses must implement in this method their normal command logic.
|
protected String appDefinitionId
public NeedsAppDefinitionCmd(String appDefinitionId)
public T execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
execute
in interface org.flowable.common.engine.impl.interceptor.Command<T>
protected abstract T execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.app.api.repository.AppDefinition appDefinition)
Copyright © 2019. All rights reserved.