public class SuspendProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
isTenantIdSet, processDefinitionId, processDefinitionKey, tenantId
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
Constructor and Description |
---|
SuspendProcessDefinitionCmd(UpdateProcessDefinitionSuspensionStateBuilderImpl builder) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected String |
getLogEntryOperation() |
protected SuspensionState |
getNewSuspensionState() |
protected SuspendProcessInstanceCmd |
getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder) |
protected AbstractSetJobDefinitionStateCmd |
getSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder)
Subclasses should return the type of the
AbstractSetJobDefinitionStateCmd here. |
checkAuthorization, checkParameters, createJobDefinitionCommandBuilder, createProcessInstanceCommandBuilder, getJobHandlerConfiguration, getNextCommand, logUserOperation, updateSuspensionState
disableLogUserOperation, execute, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate, triggerHistoryEvent
public SuspendProcessDefinitionCmd(UpdateProcessDefinitionSuspensionStateBuilderImpl builder)
protected SuspensionState getNewSuspensionState()
getNewSuspensionState
in class AbstractSetStateCmd
protected String getDelayedExecutionJobHandlerType()
AbstractSetProcessDefinitionStateCmd
JobHandler
here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType
in class AbstractSetProcessDefinitionStateCmd
protected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd(UpdateJobDefinitionSuspensionStateBuilderImpl jobDefinitionSuspensionStateBuilder)
AbstractSetProcessDefinitionStateCmd
AbstractSetJobDefinitionStateCmd
here.
It will be used to suspend or activate the JobDefinition
s.getSetJobDefinitionStateCmd
in class AbstractSetProcessDefinitionStateCmd
protected SuspendProcessInstanceCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)
getNextCommand
in class AbstractSetProcessDefinitionStateCmd
protected String getLogEntryOperation()
getLogEntryOperation
in class AbstractSetStateCmd
Copyright © 2019. All rights reserved.