Package org.operaton.bpm.engine.impl.cmd
Class ActivateProcessDefinitionCmd
java.lang.Object
org.operaton.bpm.engine.impl.cmd.AbstractSetStateCmd
org.operaton.bpm.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
org.operaton.bpm.engine.impl.cmd.ActivateProcessDefinitionCmd
- Author:
- Daniel Meyer, Joram Barrez, roman.smirnov
-
Field Summary
Fields inherited from class org.operaton.bpm.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
INCLUDE_PROCESS_INSTANCES_PROPERTY, isTenantIdSet, processDefinitionId, processDefinitionKey, tenantIdFields inherited from class org.operaton.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY -
Constructor Summary
ConstructorsConstructorDescription -
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 Stringprotected SuspensionStateprotected ActivateProcessInstanceCmdgetNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder) protected AbstractSetJobDefinitionStateCmdgetSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder) Subclasses should return the type of theAbstractSetJobDefinitionStateCmdhere.Methods inherited from class org.operaton.bpm.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
checkAuthorization, checkParameters, createJobDefinitionCommandBuilder, createProcessInstanceCommandBuilder, getDeploymentId, getJobHandlerConfiguration, getNextCommand, logUserOperation, updateSuspensionStateMethods inherited from class org.operaton.bpm.engine.impl.cmd.AbstractSetStateCmd
disableLogUserOperation, execute, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEvent
-
Constructor Details
-
ActivateProcessDefinitionCmd
-
-
Method Details
-
getNewSuspensionState
- Specified by:
getNewSuspensionStatein classAbstractSetStateCmd
-
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- Parameters:
jobDefinitionSuspensionStateBuilder-
-
getNextCommand
protected ActivateProcessInstanceCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder) - Specified by:
getNextCommandin classAbstractSetProcessDefinitionStateCmd
-
getLogEntryOperation
- Specified by:
getLogEntryOperationin classAbstractSetStateCmd
-