Package org.flowable.engine.impl.cmd
Class ActivateProcessDefinitionCmd
java.lang.Object
org.flowable.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
org.flowable.engine.impl.cmd.ActivateProcessDefinitionCmd
- Author:
- Daniel Meyer, Joram Barrez
-
Field Summary
Fields inherited from class org.flowable.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
executionDate, includeProcessInstances, processDefinitionEntity, processDefinitionId, processDefinitionKey, tenantId
-
Constructor Summary
ConstructorsConstructorDescriptionActivateProcessDefinitionCmd
(String processDefinitionId, String processDefinitionKey, boolean includeProcessInstances, Date executionDate, String tenantId) ActivateProcessDefinitionCmd
(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Subclasses should return the type of theJobHandler
here.protected SuspensionState
Subclasses should return the wantedSuspensionState
here.protected AbstractSetProcessInstanceStateCmd
getProcessInstanceChangeStateCmd
(ProcessInstance processInstance) Subclasses should return aCommand
implementation that matches the process definition state change.Methods inherited from class org.flowable.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
changeProcessDefinitionState, createTimerForDelayedExecution, execute, fetchProcessInstancesPage, findProcessDefinition
-
Constructor Details
-
ActivateProcessDefinitionCmd
public ActivateProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate, String tenantId) -
ActivateProcessDefinitionCmd
-
-
Method Details
-
getProcessDefinitionSuspensionState
Description copied from class:AbstractSetProcessDefinitionStateCmd
Subclasses should return the wantedSuspensionState
here.- Specified by:
getProcessDefinitionSuspensionState
in classAbstractSetProcessDefinitionStateCmd
-
getDelayedExecutionJobHandlerType
Description copied from class:AbstractSetProcessDefinitionStateCmd
Subclasses should return the type of theJobHandler
here. it will be used when the user provides an execution date on which the actual state change will happen.- Specified by:
getDelayedExecutionJobHandlerType
in classAbstractSetProcessDefinitionStateCmd
-
getProcessInstanceChangeStateCmd
protected AbstractSetProcessInstanceStateCmd getProcessInstanceChangeStateCmd(ProcessInstance processInstance) Description copied from class:AbstractSetProcessDefinitionStateCmd
Subclasses should return aCommand
implementation that matches the process definition state change.- Specified by:
getProcessInstanceChangeStateCmd
in classAbstractSetProcessDefinitionStateCmd
-