public class SuspendProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
executionDate, includeProcessInstances, processDefinitionEntity, processDefinitionId, processDefinitionKey| Constructor and Description |
|---|
SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity,
boolean includeProcessInstances,
Date executionDate) |
SuspendProcessDefinitionCmd(String processDefinitionId,
String processDefinitionKey,
boolean suspendProcessInstances,
Date suspensionDate) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected SuspensionState |
getProcessDefinitionSuspensionState()
Subclasses should return the wanted
SuspensionState here. |
protected AbstractSetJobDefinitionStateCmd |
getSetJobDefinitionStateCmd()
Subclasses should return the type of the
AbstractSetJobDefinitionStateCmd here. |
protected AbstractSetProcessInstanceStateCmd |
getSetProcessInstanceStateCmd()
Subclasses should return the type of the
AbstractSetProcessInstanceStateCmd here. |
execute, scheduleSuspensionStateUpdate, updateSuspensionStatepublic SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate)
protected SuspensionState getProcessDefinitionSuspensionState()
AbstractSetProcessDefinitionStateCmdSuspensionState here.getProcessDefinitionSuspensionState in class AbstractSetProcessDefinitionStateCmdprotected String getDelayedExecutionJobHandlerType()
AbstractSetProcessDefinitionStateCmdJobHandler here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType in class AbstractSetProcessDefinitionStateCmdprotected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd()
AbstractSetProcessDefinitionStateCmdAbstractSetJobDefinitionStateCmd here.
It will be used to suspend or activate the JobDefinitions.getSetJobDefinitionStateCmd in class AbstractSetProcessDefinitionStateCmdprotected AbstractSetProcessInstanceStateCmd getSetProcessInstanceStateCmd()
AbstractSetProcessDefinitionStateCmdAbstractSetProcessInstanceStateCmd here.
It will be used to suspend or activate the ProcessInstances.getSetProcessInstanceStateCmd in class AbstractSetProcessDefinitionStateCmdCopyright © 2015. All rights reserved.