public abstract class AbstractSetJobDefinitionStateCmd extends AbstractSetStateCmd
Modifier and Type | Field and Description |
---|---|
protected Date |
executionDate |
protected String |
jobDefinitionId |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
Constructor and Description |
---|
AbstractSetJobDefinitionStateCmd(String jobDefinitionId,
String processDefinitionId,
String processDefinitionKey,
boolean includeJobs,
Date executionDate) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAuthorization(CommandContext commandContext) |
protected void |
checkParameters(CommandContext commandContext) |
protected abstract String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected String |
getJobHandlerConfiguration() |
protected abstract AbstractSetJobStateCmd |
getNextCommand() |
protected void |
logUserOperation(CommandContext commandContext) |
protected void |
updateSuspensionState(CommandContext commandContext,
SuspensionState suspensionState) |
disableLogUserOperation, execute, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate
protected String jobDefinitionId
protected String processDefinitionId
protected String processDefinitionKey
protected Date executionDate
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 String getJobHandlerConfiguration()
getJobHandlerConfiguration
in class AbstractSetStateCmd
protected void logUserOperation(CommandContext commandContext)
logUserOperation
in class AbstractSetStateCmd
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 abstract AbstractSetJobStateCmd getNextCommand()
getNextCommand
in class AbstractSetStateCmd
Copyright © 2018. All rights reserved.