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, triggerHistoryEventpublic 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 AbstractSetStateCmdprotected void checkAuthorization(CommandContext commandContext)
checkAuthorization in class AbstractSetStateCmdprotected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
updateSuspensionState in class AbstractSetStateCmdprotected UpdateJobDefinitionSuspensionStateBuilderImpl createJobDefinitionCommandBuilder()
protected UpdateProcessInstanceSuspensionStateBuilderImpl createProcessInstanceCommandBuilder()
protected JobHandlerConfiguration getJobHandlerConfiguration()
getJobHandlerConfiguration in class AbstractSetStateCmdprotected void logUserOperation(CommandContext commandContext)
logUserOperation in class AbstractSetStateCmdprotected 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 AbstractSetStateCmdprotected abstract AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder)
AbstractSetJobDefinitionStateCmd here.
It will be used to suspend or activate the JobDefinitions.jobDefinitionSuspensionStateBuilder - protected AbstractSetProcessInstanceStateCmd getNextCommand()
getNextCommand in class AbstractSetStateCmdprotected String getDeploymentId(CommandContext commandContext)
getDeploymentId in class AbstractSetStateCmdAbstractSetStateCmd.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.