public abstract class IgnoreTransitionXCommand<T> extends TransitionXCommand<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
ret |
insertList, job, updateListDEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
IgnoreTransitionXCommand(String name,
String type,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
execute()
Command execution body.
|
abstract void |
ignoreChildren() |
void |
notifyParent()
This will be used to notify the parent about the status of that perticular job.
|
void |
transitToNext()
Transit to the next status based on the result of the Job.
|
void |
updateJob()
Update the parent job.
|
generateEvents, getJob, performWrites, setJobcall, 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 IgnoreTransitionXCommand(String name, String type, int priority)
protected T execute() throws CommandException
XCommandexecute in class TransitionXCommand<T>CommandException - thrown if the command execution failed.public abstract void ignoreChildren() throws CommandException
CommandExceptionpublic void transitToNext() throws CommandException
TransitionXCommandtransitToNext in class TransitionXCommand<T>CommandExceptionpublic void notifyParent()
TransitionXCommandnotifyParent in class TransitionXCommand<T>public void updateJob()
TransitionXCommandupdateJob in class TransitionXCommand<T>Copyright © 2015 Apache Software Foundation. All Rights Reserved.