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, updateSuspensionState
public SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate)
protected SuspensionState getProcessDefinitionSuspensionState()
AbstractSetProcessDefinitionStateCmd
SuspensionState
here.getProcessDefinitionSuspensionState
in class AbstractSetProcessDefinitionStateCmd
protected String getDelayedExecutionJobHandlerType()
AbstractSetProcessDefinitionStateCmd
JobHandler
here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType
in class AbstractSetProcessDefinitionStateCmd
protected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd()
AbstractSetProcessDefinitionStateCmd
AbstractSetJobDefinitionStateCmd
here.
It will be used to suspend or activate the JobDefinition
s.getSetJobDefinitionStateCmd
in class AbstractSetProcessDefinitionStateCmd
protected AbstractSetProcessInstanceStateCmd getSetProcessInstanceStateCmd()
AbstractSetProcessDefinitionStateCmd
AbstractSetProcessInstanceStateCmd
here.
It will be used to suspend or activate the ProcessInstance
s.getSetProcessInstanceStateCmd
in class AbstractSetProcessDefinitionStateCmd
Copyright © 2015. All rights reserved.