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