T
- public abstract class PauseTransitionXCommand extends TransitionXCommand<Void>
insertList, job, updateList
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG
Constructor and Description |
---|
PauseTransitionXCommand(String name,
String type,
int priority)
The constructor for abstract class
PauseTransitionXCommand |
Modifier and Type | Method and Description |
---|---|
protected Void |
execute()
Command execution body.
|
abstract void |
pauseChildren()
pause actions associated with the job
|
void |
transitToNext()
Transit to the next status based on the result of the Job.
|
generateEvents, getJob, notifyParent, performWrites, setJob, updateJob
call, 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 PauseTransitionXCommand(String name, String type, int priority)
PauseTransitionXCommand
name
- the command nametype
- the command typepriority
- the command prioritypublic abstract void pauseChildren() throws CommandException
CommandException
- thrown if failed to pause actionspublic final void transitToNext() throws CommandException
TransitionXCommand
transitToNext
in class TransitionXCommand<Void>
CommandException
protected Void execute() throws CommandException
XCommand
execute
in class TransitionXCommand<Void>
CommandException
- thrown if the command execution failed.Copyright © 2015 Apache Software Foundation. All Rights Reserved.