public abstract class AbstractSetJobDefinitionStateCmd extends AbstractSetStateCmd
Modifier and Type | Field and Description |
---|---|
protected Date |
executionDate |
protected boolean |
isProcessDefinitionTenantIdSet |
protected String |
jobDefinitionId |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processDefinitionTenantId |
includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
Constructor and Description |
---|
AbstractSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl builder) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAuthorization(CommandContext commandContext) |
protected void |
checkParameters(CommandContext commandContext) |
protected UpdateJobSuspensionStateBuilderImpl |
createJobCommandBuilder() |
protected abstract String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected String |
getDeploymentId(CommandContext commandContext) |
protected JobHandlerConfiguration |
getJobHandlerConfiguration() |
protected AbstractSetStateCmd |
getNextCommand() |
protected abstract AbstractSetJobStateCmd |
getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder) |
protected void |
logUserOperation(CommandContext commandContext) |
protected void |
updateSuspensionState(CommandContext commandContext,
SuspensionState suspensionState) |
disableLogUserOperation, execute, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRetryable
protected String jobDefinitionId
protected String processDefinitionId
protected String processDefinitionKey
protected Date executionDate
protected String processDefinitionTenantId
protected boolean isProcessDefinitionTenantIdSet
public AbstractSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl builder)
protected void checkParameters(CommandContext commandContext)
checkParameters
in class AbstractSetStateCmd
protected void checkAuthorization(CommandContext commandContext)
checkAuthorization
in class AbstractSetStateCmd
protected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
updateSuspensionState
in class AbstractSetStateCmd
protected JobHandlerConfiguration getJobHandlerConfiguration()
getJobHandlerConfiguration
in class AbstractSetStateCmd
protected void logUserOperation(CommandContext commandContext)
logUserOperation
in class AbstractSetStateCmd
protected UpdateJobSuspensionStateBuilderImpl createJobCommandBuilder()
protected abstract String getDelayedExecutionJobHandlerType()
JobHandler
here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType
in class AbstractSetStateCmd
protected AbstractSetStateCmd getNextCommand()
getNextCommand
in class AbstractSetStateCmd
protected String getDeploymentId(CommandContext commandContext)
getDeploymentId
in class AbstractSetStateCmd
AbstractSetStateCmd.executionDate
can be set) so the job executor responsible
for that deployment can execute the resulting jobprotected abstract AbstractSetJobStateCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
Copyright © 2022. All rights reserved.