public class BundleSLAChangeXCommand extends BundleSLAAlertsXCommand
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
BundleSLAChangeXCommand(String jobId,
String actions,
String dates,
String childIds,
Map<String,String> newSlaParams) |
| 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.
|
protected void |
verifyPrecondition()
Verify the precondition for the command after a lock has been obtain, just before executing the command.
|
executeSlaCommand, getActions, getCoordJobs, getCoordJobsFromBundle, getDates, isJobRequestexecute, getEntityKey, getJobId, getKey, isLockRequired, setLogInfo, validateSLAChangeParamcall, call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getInstrumentation, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isReQueueRequired, queue, queue, resetUsed, setInterruptMode, toStringprotected void loadState() throws CommandException
XCommandloadState in class BundleSLAAlertsXCommandCommandExceptionprotected void executeCoordCommand(String id, String actions, String dates) throws ServiceException, CommandException
executeCoordCommand in class BundleSLAAlertsXCommandServiceExceptionCommandExceptionprotected 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 © 2015 Apache Software Foundation. All Rights Reserved.