public abstract class ResumeTransitionXCommand extends TransitionXCommand<Void>
insertList, job, updateList
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG
Constructor and Description |
---|
ResumeTransitionXCommand(String name,
String type,
int priority) |
ResumeTransitionXCommand(String name,
String type,
int priority,
boolean dryrun) |
Modifier and Type | Method and Description |
---|---|
protected Void |
execute()
Command execution body.
|
abstract void |
resumeChildren()
Resume all children of the job
|
void |
transitToNext()
Transit job to PREP from PREPSUSPENDED or to RUNNING from SUSPENDED.
|
generateEvents, getJob, notifyParent, performWrites, setJob, updateJob
call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, setLogInfo, toString, verifyPrecondition
public ResumeTransitionXCommand(String name, String type, int priority)
public ResumeTransitionXCommand(String name, String type, int priority, boolean dryrun)
public abstract void resumeChildren() throws CommandException
CommandException
public void transitToNext()
transitToNext
in class TransitionXCommand<Void>
TransitionXCommand.transitToNext()
protected Void execute() throws CommandException
XCommand
This method will be invoked after the {link #loadState} and {link #verifyPrecondition} methods.
If the command requires locking, this method will be invoked ONLY if the lock has been acquired.
execute
in class TransitionXCommand<Void>
CommandException
- thrown if the command execution failed.Copyright © 2018 Apache Software Foundation. All rights reserved.