public class SuspendProcessInstanceCmd extends AbstractSetProcessInstanceStateCmd
processDefinitionId, processDefinitionKey, processInstanceId
Constructor and Description |
---|
SuspendProcessInstanceCmd(String executionId,
String processDefinitionId,
String processDefinitionKey) |
Modifier and Type | Method and Description |
---|---|
protected SuspensionState |
getNewSuspensionState()
Subclasses should return the wanted
SuspensionState here. |
protected AbstractSetJobStateCmd |
getSetJobStateCmd()
Subclasses should return the type of the
AbstractSetJobStateCmd here. |
execute
protected SuspensionState getNewSuspensionState()
AbstractSetProcessInstanceStateCmd
SuspensionState
here.getNewSuspensionState
in class AbstractSetProcessInstanceStateCmd
protected AbstractSetJobStateCmd getSetJobStateCmd()
AbstractSetProcessInstanceStateCmd
AbstractSetJobStateCmd
here.
It will be used to suspend or activate the Job
s.getSetJobStateCmd
in class AbstractSetProcessInstanceStateCmd
Copyright © 2015. All rights reserved.