public abstract class AbstractSetProcessInstanceStateCmd extends Object implements Command<Void>
Modifier and Type | Field and Description |
---|---|
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
Constructor and Description |
---|
AbstractSetProcessInstanceStateCmd(String processInstanceId,
String processDefinitionId,
String processDefinitionKey) |
Modifier and Type | Method and Description |
---|---|
Void |
execute(CommandContext commandContext) |
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 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.Copyright © 2015. All rights reserved.