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, triggerHistoryEventprotected 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 abstract AbstractSetProcessInstanceStateCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)
Copyright © 2020. All rights reserved.