Package org.camunda.bpm.engine.impl.cmd
Class SuspendJobDefinitionCmd
- java.lang.Object
 - 
- org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
 - 
- org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
 - 
- org.camunda.bpm.engine.impl.cmd.SuspendJobDefinitionCmd
 
 
 
 
- 
public class SuspendJobDefinitionCmd extends AbstractSetJobDefinitionStateCmd
- Author:
 - roman.smirnov
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
executionDate, isProcessDefinitionTenantIdSet, jobDefinitionId, processDefinitionId, processDefinitionKey, processDefinitionTenantId 
- 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SuspendJobDefinitionCmd(UpdateJobDefinitionSuspensionStateBuilderImpl builder) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDelayedExecutionJobHandlerType()Subclasses should return the type of theJobHandlerhere.protected StringgetLogEntryOperation()protected SuspensionStategetNewSuspensionState()protected SuspendJobCmdgetNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)- 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
checkAuthorization, checkParameters, createJobCommandBuilder, 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
- 
SuspendJobDefinitionCmd
public SuspendJobDefinitionCmd(UpdateJobDefinitionSuspensionStateBuilderImpl builder)
 
 - 
 
- 
Method Detail
- 
getNewSuspensionState
protected SuspensionState getNewSuspensionState()
- Specified by:
 getNewSuspensionStatein classAbstractSetStateCmd
 
- 
getDelayedExecutionJobHandlerType
protected String getDelayedExecutionJobHandlerType()
Description copied from class:AbstractSetJobDefinitionStateCmdSubclasses 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 classAbstractSetJobDefinitionStateCmd
 
- 
getNextCommand
protected SuspendJobCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
- Specified by:
 getNextCommandin classAbstractSetJobDefinitionStateCmd
 
- 
getLogEntryOperation
protected String getLogEntryOperation()
- Specified by:
 getLogEntryOperationin classAbstractSetStateCmd
 
 - 
 
 -