org.apache.oozie.command
Class IgnoreTransitionXCommand<T>
java.lang.Object
org.apache.oozie.command.XCommand<T>
org.apache.oozie.command.TransitionXCommand<T>
org.apache.oozie.command.IgnoreTransitionXCommand<T>
- All Implemented Interfaces:
- Callable<T>, XCallable<T>
- Direct Known Subclasses:
- CoordActionsIgnoreXCommand
public abstract class IgnoreTransitionXCommand<T>
- extends TransitionXCommand<T>
|
Field Summary |
protected T |
ret
|
|
Method Summary |
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. |
| Methods inherited from class org.apache.oozie.command.XCommand |
call, call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, toString, verifyPrecondition |
ret
protected T ret
IgnoreTransitionXCommand
public IgnoreTransitionXCommand(String name,
String type,
int priority)
execute
protected T execute()
throws CommandException
- Description copied from class:
XCommand
- Command execution body.
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.
- Overrides:
execute in class TransitionXCommand<T>
- Returns:
- a return value from the execution of the command, only meaningful if the command is executed
synchronously.
- Throws:
CommandException - thrown if the command execution failed.
ignoreChildren
public abstract void ignoreChildren()
throws CommandException
- Throws:
CommandException
transitToNext
public void transitToNext()
throws CommandException
- Description copied from class:
TransitionXCommand
- Transit to the next status based on the result of the Job.
- Specified by:
transitToNext in class TransitionXCommand<T>
- Throws:
CommandException
notifyParent
public void notifyParent()
- Description copied from class:
TransitionXCommand
- This will be used to notify the parent about the status of that perticular job.
- Specified by:
notifyParent in class TransitionXCommand<T>
updateJob
public void updateJob()
- Description copied from class:
TransitionXCommand
- Update the parent job.
- Specified by:
updateJob in class TransitionXCommand<T>
Copyright © 2015 Apache Software Foundation. All Rights Reserved.