public class CoordSLAChangeXCommand extends CoordSLAAlertsXCommand
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
CoordSLAChangeXCommand(String jobId,
String actions,
String dates,
Map<String,String> newParams) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
executeSlaCommand()
Execute sla command.
|
protected void |
updateJob()
Update job.
|
protected void |
verifyPrecondition()
Verify the precondition for the command after a lock has been obtain, just before executing the command.
|
getActionDateListAsString, getActionList, getJobConf, isJobRequest, loadState, updateJobConf, updateJobSLA, updateSlaTagElementexecute, getEntityKey, getJobId, getKey, isLockRequired, setLogInfo, validateSLAChangeParamcall, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getInstrumentation, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isReQueueRequired, queue, queue, resetUsed, setInterruptMode, toStringprotected boolean executeSlaCommand() throws ServiceException, CommandException
SLAAlertsXCommandexecuteSlaCommand in class SLAAlertsXCommandServiceException - the service exceptionCommandException - the command exceptionprotected void updateJob() throws CommandException
SLAAlertsXCommandupdateJob in class SLAAlertsXCommandCommandException - the command exceptionprotected void verifyPrecondition() throws CommandException, PreconditionException
XCommandverifyPrecondition in class SLAAlertsXCommandCommandException - thrown if the precondition is not met.PreconditionExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.