public abstract class AbstractSetStateCmd extends Object implements Command<Void>
Modifier and Type | Field and Description |
---|---|
protected Date |
executionDate |
protected boolean |
includeSubResources |
protected boolean |
isLogUserOperationDisabled |
protected static String |
SUSPENSION_STATE_PROPERTY |
Constructor and Description |
---|
AbstractSetStateCmd(boolean includeSubResources,
Date executionDate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRetryable
protected static final String SUSPENSION_STATE_PROPERTY
protected boolean includeSubResources
protected boolean isLogUserOperationDisabled
protected Date executionDate
public AbstractSetStateCmd(boolean includeSubResources, Date executionDate)
public Void execute(CommandContext commandContext)
protected void triggerHistoryEvent(CommandContext commandContext)
public void disableLogUserOperation()
protected boolean isLogUserOperationDisabled()
protected boolean isIncludeSubResources()
protected void scheduleSuspensionStateUpdate(CommandContext commandContext)
protected String getDelayedExecutionJobHandlerType()
protected JobHandlerConfiguration getJobHandlerConfiguration()
protected AbstractSetStateCmd getNextCommand()
protected String getDeploymentId(CommandContext commandContext)
executionDate
can be set) so the job executor responsible
for that deployment can execute the resulting jobprotected abstract void checkAuthorization(CommandContext commandContext)
protected abstract void checkParameters(CommandContext commandContext)
protected abstract void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
protected abstract void logUserOperation(CommandContext commandContext)
protected abstract String getLogEntryOperation()
protected abstract SuspensionState getNewSuspensionState()
protected String getDeploymentIdByProcessDefinition(CommandContext commandContext, String processDefinitionId)
protected String getDeploymentIdByProcessDefinitionKey(CommandContext commandContext, String processDefinitionKey, boolean tenantIdSet, String tenantId)
protected String getDeploymentIdByJobDefinition(CommandContext commandContext, String jobDefinitionId)
Copyright © 2022. All rights reserved.