Package org.camunda.bpm.engine.impl.cmd
Class AbstractSetJobStateCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
-
- org.camunda.bpm.engine.impl.cmd.AbstractSetJobStateCmd
-
- All Implemented Interfaces:
Command<java.lang.Void>
- Direct Known Subclasses:
ActivateJobCmd
,SuspendJobCmd
public abstract class AbstractSetJobStateCmd extends AbstractSetStateCmd
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
jobDefinitionId
protected java.lang.String
jobId
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.String
processDefinitionTenantId
protected boolean
processDefinitionTenantIdSet
protected java.lang.String
processInstanceId
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description AbstractSetJobStateCmd(UpdateJobSuspensionStateBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkAuthorization(CommandContext commandContext)
protected void
checkParameters(CommandContext commandContext)
protected void
logUserOperation(CommandContext commandContext)
protected void
updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
disableLogUserOperation, execute, getDelayedExecutionJobHandlerType, getDeploymentId, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, getJobHandlerConfiguration, getLogEntryOperation, getNewSuspensionState, getNextCommand, 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
-
-
-
-
Field Detail
-
jobId
protected java.lang.String jobId
-
jobDefinitionId
protected java.lang.String jobDefinitionId
-
processInstanceId
protected java.lang.String processInstanceId
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processDefinitionTenantId
protected java.lang.String processDefinitionTenantId
-
processDefinitionTenantIdSet
protected boolean processDefinitionTenantIdSet
-
-
Constructor Detail
-
AbstractSetJobStateCmd
public AbstractSetJobStateCmd(UpdateJobSuspensionStateBuilderImpl builder)
-
-
Method Detail
-
checkParameters
protected void checkParameters(CommandContext commandContext)
- Specified by:
checkParameters
in classAbstractSetStateCmd
-
checkAuthorization
protected void checkAuthorization(CommandContext commandContext)
- Specified by:
checkAuthorization
in classAbstractSetStateCmd
-
updateSuspensionState
protected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
- Specified by:
updateSuspensionState
in classAbstractSetStateCmd
-
logUserOperation
protected void logUserOperation(CommandContext commandContext)
- Specified by:
logUserOperation
in classAbstractSetStateCmd
-
-