public class ActivateProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
executionDate, includeProcessInstances, processDefinitionEntity, processDefinitionId, processDefinitionKey
Constructor and Description |
---|
ActivateProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity,
boolean includeProcessInstances,
Date executionDate) |
ActivateProcessDefinitionCmd(String processDefinitionId,
String processDefinitionKey,
boolean includeProcessInstances,
Date executionDate) |
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 ActivateProcessDefinitionCmd(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 © 2018. All rights reserved.