Package org.camunda.bpm.engine.impl.cmd
Class ActivateProcessDefinitionCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
org.camunda.bpm.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
org.camunda.bpm.engine.impl.cmd.ActivateProcessDefinitionCmd
- Author:
- Daniel Meyer, Joram Barrez, roman.smirnov
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
INCLUDE_PROCESS_INSTANCES_PROPERTY, isTenantIdSet, processDefinitionId, processDefinitionKey, tenantId
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Subclasses should return the type of theJobHandler
here.protected String
protected SuspensionState
protected ActivateProcessInstanceCmd
getNextCommand
(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder) protected AbstractSetJobDefinitionStateCmd
getSetJobDefinitionStateCmd
(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder) Subclasses should return the type of theAbstractSetJobDefinitionStateCmd
here.Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
checkAuthorization, checkParameters, createJobDefinitionCommandBuilder, createProcessInstanceCommandBuilder, getDeploymentId, getJobHandlerConfiguration, getNextCommand, logUserOperation, updateSuspensionState
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
disableLogUserOperation, execute, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEvent
-
Constructor Details
-
ActivateProcessDefinitionCmd
-
-
Method Details
-
getNewSuspensionState
- Specified by:
getNewSuspensionState
in classAbstractSetStateCmd
-
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
-
getSetJobDefinitionStateCmd
protected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder) Description copied from class:AbstractSetProcessDefinitionStateCmd
Subclasses should return the type of theAbstractSetJobDefinitionStateCmd
here. It will be used to suspend or activate theJobDefinition
s.- Specified by:
getSetJobDefinitionStateCmd
in classAbstractSetProcessDefinitionStateCmd
-
getNextCommand
protected ActivateProcessInstanceCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder) - Specified by:
getNextCommand
in classAbstractSetProcessDefinitionStateCmd
-
getLogEntryOperation
- Specified by:
getLogEntryOperation
in classAbstractSetStateCmd
-