public abstract class AbstractSetProcessDefinitionStateCmd extends AbstractSetStateCmd
Modifier and Type | Field and Description |
---|---|
protected boolean |
isTenantIdSet |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
tenantId |
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
Constructor and Description |
---|
AbstractSetProcessDefinitionStateCmd(UpdateProcessDefinitionSuspensionStateBuilderImpl builder) |
disableLogUserOperation, execute, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEvent
protected String processDefinitionId
protected String processDefinitionKey
protected String tenantId
protected boolean isTenantIdSet
public AbstractSetProcessDefinitionStateCmd(UpdateProcessDefinitionSuspensionStateBuilderImpl 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 UpdateJobDefinitionSuspensionStateBuilderImpl createJobDefinitionCommandBuilder()
protected UpdateProcessInstanceSuspensionStateBuilderImpl createProcessInstanceCommandBuilder()
protected JobHandlerConfiguration 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 AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder)
AbstractSetJobDefinitionStateCmd
here.
It will be used to suspend or activate the JobDefinition
s.jobDefinitionSuspensionStateBuilder
- protected AbstractSetProcessInstanceStateCmd getNextCommand()
getNextCommand
in class AbstractSetStateCmd
protected abstract AbstractSetProcessInstanceStateCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)
Copyright © 2018. All rights reserved.