public abstract class AbstractSetProcessDefinitionStateCmd extends AbstractSetStateCmd
Modifier and Type | Field and Description |
---|---|
static String |
INCLUDE_PROCESS_INSTANCES_PROPERTY |
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, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEvent
public static final String INCLUDE_PROCESS_INSTANCES_PROPERTY
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 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 AbstractSetProcessInstanceStateCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)
Copyright © 2021. All rights reserved.