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 StringSubclasses should return the type of theJobHandlerhere. it will be used when the user provides an execution date on which the actual state change will happen.protected SuspensionStateSubclasses should return the wantedSuspensionStatehere.protected AbstractSetProcessInstanceStateCmdgetProcessInstanceChangeStateCmd(ProcessInstance processInstance) Subclasses should return aCommandimplementation 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:AbstractSetProcessDefinitionStateCmdSubclasses should return the wantedSuspensionStatehere.- Specified by:
getProcessDefinitionSuspensionStatein classAbstractSetProcessDefinitionStateCmd
-
getDelayedExecutionJobHandlerType
Description copied from class:AbstractSetProcessDefinitionStateCmdSubclasses should return the type of theJobHandlerhere. it will be used when the user provides an execution date on which the actual state change will happen.- Specified by:
getDelayedExecutionJobHandlerTypein classAbstractSetProcessDefinitionStateCmd
-
getProcessInstanceChangeStateCmd
protected AbstractSetProcessInstanceStateCmd getProcessInstanceChangeStateCmd(ProcessInstance processInstance) Description copied from class:AbstractSetProcessDefinitionStateCmdSubclasses should return aCommandimplementation that matches the process definition state change.- Specified by:
getProcessInstanceChangeStateCmdin classAbstractSetProcessDefinitionStateCmd
-