public abstract class SubmitTransitionXCommand extends TransitionXCommand<java.lang.String>
insertList, job, updateListDEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
SubmitTransitionXCommand(java.lang.String name,
java.lang.String type,
int priority)
The constructor for abstract class
SubmitTransitionXCommand |
SubmitTransitionXCommand(java.lang.String name,
java.lang.String type,
int priority,
boolean dryrun)
The constructor for abstract class
SubmitTransitionXCommand |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
execute()
Command execution body.
|
protected abstract java.lang.String |
submit()
Submit 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 SubmitTransitionXCommand(java.lang.String name, java.lang.String type, int priority)
SubmitTransitionXCommandname - the command nametype - the command typepriority - the command prioritypublic SubmitTransitionXCommand(java.lang.String name, java.lang.String type, int priority, boolean dryrun)
SubmitTransitionXCommandname - the command nametype - the command typepriority - the command prioritydryrun - true if dryrun is enableprotected abstract java.lang.String submit() throws CommandException
CommandException - thrown if unable to submitpublic void transitToNext()
TransitionXCommandtransitToNext in class TransitionXCommand<java.lang.String>protected java.lang.String execute() throws CommandException
XCommandexecute in class TransitionXCommand<java.lang.String>CommandException - thrown if the command execution failed.Copyright © 2019 Apache Software Foundation. All Rights Reserved.