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
 
 
 
 
- 
- All Implemented Interfaces:
 Command<java.lang.Void>
public class ActivateProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
- 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
Constructors Constructor Description ActivateProcessDefinitionCmd(UpdateProcessDefinitionSuspensionStateBuilderImpl builder) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDelayedExecutionJobHandlerType()Subclasses should return the type of theJobHandlerhere.protected java.lang.StringgetLogEntryOperation()protected SuspensionStategetNewSuspensionState()protected ActivateProcessInstanceCmdgetNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)protected AbstractSetJobDefinitionStateCmdgetSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder)Subclasses should return the type of theAbstractSetJobDefinitionStateCmdhere.- 
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 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ActivateProcessDefinitionCmd
public ActivateProcessDefinitionCmd(UpdateProcessDefinitionSuspensionStateBuilderImpl builder)
 
 - 
 
- 
Method Detail
- 
getNewSuspensionState
protected SuspensionState getNewSuspensionState()
- Specified by:
 getNewSuspensionStatein classAbstractSetStateCmd
 
- 
getDelayedExecutionJobHandlerType
protected java.lang.String 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
 
- 
getSetJobDefinitionStateCmd
protected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder)
Description copied from class:AbstractSetProcessDefinitionStateCmdSubclasses should return the type of theAbstractSetJobDefinitionStateCmdhere. It will be used to suspend or activate theJobDefinitions.- Specified by:
 getSetJobDefinitionStateCmdin classAbstractSetProcessDefinitionStateCmd
 
- 
getNextCommand
protected ActivateProcessInstanceCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)
- Specified by:
 getNextCommandin classAbstractSetProcessDefinitionStateCmd
 
- 
getLogEntryOperation
protected java.lang.String getLogEntryOperation()
- Specified by:
 getLogEntryOperationin classAbstractSetStateCmd
 
 - 
 
 -