public class BundleSLAAlertsEnableXCommand extends BundleSLAAlertsXCommand
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG
Constructor and Description |
---|
BundleSLAAlertsEnableXCommand(String jobId,
String actions,
String dates,
String childIds) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeCoordCommand(String id,
String actions,
String dates) |
protected void |
loadState()
Load the necessary state to perform the precondition check and to execute the command.
|
protected void |
updateJob()
Update job.
|
executeSlaCommand, getActions, getCoordJobs, getCoordJobsFromBundle, getDates, isJobRequest
execute, getEntityKey, getJobId, getKey, isLockRequired, setLogInfo, validateSLAChangeParam, verifyPrecondition
call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getInstrumentation, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isReQueueRequired, queue, queue, resetUsed, setInterruptMode, toString
public BundleSLAAlertsEnableXCommand(String jobId, String actions, String dates, String childIds)
protected void loadState() throws CommandException
XCommand
Subclasses must implement this method and load the state needed to do the precondition check and execute the command.
loadState
in class BundleSLAAlertsXCommand
CommandException
protected void executeCoordCommand(String id, String actions, String dates) throws ServiceException, CommandException
executeCoordCommand
in class BundleSLAAlertsXCommand
ServiceException
CommandException
protected void updateJob() throws CommandException
SLAAlertsXCommand
updateJob
in class SLAAlertsXCommand
CommandException
- the command exceptionCopyright © 2018 Apache Software Foundation. All rights reserved.