Package org.camunda.bpm.engine.impl.cmd
Class AbstractSetJobDefinitionStateCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
- Direct Known Subclasses:
- ActivateJobDefinitionCmd,- SuspendJobDefinitionCmd
- Author:
- Daniel Meyer, roman.smirnov
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Dateprotected booleanprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmdincludeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcheckAuthorization(CommandContext commandContext) protected voidcheckParameters(CommandContext commandContext) protected UpdateJobSuspensionStateBuilderImplprotected abstract StringSubclasses should return the type of theJobHandlerhere.protected StringgetDeploymentId(CommandContext commandContext) protected JobHandlerConfigurationprotected AbstractSetStateCmdprotected abstract AbstractSetJobStateCmdgetNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder) protected voidlogUserOperation(CommandContext commandContext) protected voidupdateSuspensionState(CommandContext commandContext, SuspensionState suspensionState) Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmddisableLogUserOperation, execute, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEventMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
- 
Field Details- 
jobDefinitionId
- 
processDefinitionId
- 
processDefinitionKey
- 
executionDate
- 
processDefinitionTenantId
- 
isProcessDefinitionTenantIdSetprotected boolean isProcessDefinitionTenantIdSet
 
- 
- 
Constructor Details- 
AbstractSetJobDefinitionStateCmd
 
- 
- 
Method Details- 
checkParameters- Specified by:
- checkParametersin class- AbstractSetStateCmd
 
- 
checkAuthorization- Specified by:
- checkAuthorizationin class- AbstractSetStateCmd
 
- 
updateSuspensionStateprotected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState) - Specified by:
- updateSuspensionStatein class- AbstractSetStateCmd
 
- 
getJobHandlerConfiguration- Overrides:
- getJobHandlerConfigurationin class- AbstractSetStateCmd
 
- 
logUserOperation- Specified by:
- logUserOperationin class- AbstractSetStateCmd
 
- 
createJobCommandBuilder
- 
getDelayedExecutionJobHandlerTypeSubclasses 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.- Overrides:
- getDelayedExecutionJobHandlerTypein class- AbstractSetStateCmd
 
- 
getNextCommand- Overrides:
- getNextCommandin class- AbstractSetStateCmd
 
- 
getDeploymentId- Overrides:
- getDeploymentIdin class- AbstractSetStateCmd
- Returns:
- the id of the associated deployment, only necessary if the command
         can potentially be executed in a scheduled way (i.e. if an
         AbstractSetStateCmd.executionDatecan be set) so the job executor responsible for that deployment can execute the resulting job
 
- 
getNextCommandprotected abstract AbstractSetJobStateCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder) 
 
-