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 AbstractSetProcessInstanceStateCmd |
getProcessInstanceChangeStateCmd(ProcessInstance processInstance)
Subclasses should return a
Command implementation that matches the process definition
state change. |
changeProcessDefinitionState, createTimerForDelayedExecution, execute, findProcessDefinition
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 AbstractSetProcessInstanceStateCmd getProcessInstanceChangeStateCmd(ProcessInstance processInstance)
AbstractSetProcessDefinitionStateCmd
Command
implementation that matches the process definition
state change.getProcessInstanceChangeStateCmd
in class AbstractSetProcessDefinitionStateCmd
Copyright © 2015. All rights reserved.