public abstract class AbstractSetProcessInstanceStateCmd extends Object implements Command<Void>
Modifier and Type | Field and Description |
---|---|
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected static String |
SUSPENSION_STATE_PROPERTY |
Constructor and Description |
---|
AbstractSetProcessInstanceStateCmd(String processInstanceId,
String processDefinitionId,
String processDefinitionKey) |
Modifier and Type | Method and Description |
---|---|
Void |
execute(CommandContext commandContext) |
protected abstract String |
getLogEntryOperation() |
protected abstract SuspensionState |
getNewSuspensionState()
Subclasses should return the wanted
SuspensionState here. |
protected abstract AbstractSetJobStateCmd |
getSetJobStateCmd()
Subclasses should return the type of the
AbstractSetJobStateCmd here. |
protected static final String SUSPENSION_STATE_PROPERTY
protected final String processInstanceId
protected String processDefinitionId
protected String processDefinitionKey
public Void execute(CommandContext commandContext)
protected abstract SuspensionState getNewSuspensionState()
SuspensionState
here.protected abstract AbstractSetJobStateCmd getSetJobStateCmd()
AbstractSetJobStateCmd
here.
It will be used to suspend or activate the Job
s.protected abstract String getLogEntryOperation()
Copyright © 2018. All rights reserved.