Package org.flowable.engine.impl.cmd
Class SuspendProcessDefinitionCmd
java.lang.Object
org.flowable.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
org.flowable.engine.impl.cmd.SuspendProcessDefinitionCmd
- 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
ConstructorsConstructorDescriptionSuspendProcessDefinitionCmd(String processDefinitionId, String processDefinitionKey, boolean suspendProcessInstances, Date suspensionDate, String tenantId) SuspendProcessDefinitionCmd(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
-
SuspendProcessDefinitionCmd
public SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate, String tenantId) -
SuspendProcessDefinitionCmd
-
-
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
-