public abstract class StartTransitionXCommand extends TransitionXCommand<Void>
insertList, job, updateListDEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
StartTransitionXCommand(String name,
String type,
int priority)
The constructor for abstract class
StartTransitionXCommand |
StartTransitionXCommand(String name,
String type,
int priority,
boolean dryrun)
The constructor for abstract class
StartTransitionXCommand |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
execute()
Command execution body.
|
abstract void |
StartChildren()
Start actions associated with the job
|
void |
transitToNext()
Transit to the next status based on the result of the Job.
|
generateEvents, getJob, notifyParent, performWrites, setJob, updateJobcall, call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, setLogInfo, toString, verifyPreconditionpublic StartTransitionXCommand(String name, String type, int priority)
StartTransitionXCommandname - the command nametype - the command typepriority - the command prioritypublic StartTransitionXCommand(String name, String type, int priority, boolean dryrun)
StartTransitionXCommandname - the command nametype - the command typepriority - the command prioritydryrun - true if dryrun is enablepublic abstract void StartChildren() throws CommandException
CommandException - thrown if failed to start actionspublic final void transitToNext()
TransitionXCommandtransitToNext in class TransitionXCommand<Void>protected Void execute() throws CommandException
XCommandexecute in class TransitionXCommand<Void>CommandException - thrown if the command execution failed.Copyright © 2015 Apache Software Foundation. All Rights Reserved.