This project has retired. For details please refer to its
        
        Attic page .
      
 
 
ResumeTransitionXCommand (Oozie Core 3.1.3-incubating API)
 
 
 
 
 
 
 
 
 
org.apache.oozie.command 
 
Class ResumeTransitionXCommand 
java.lang.Object 
  org.apache.oozie.command.XCommand <T>
      org.apache.oozie.command.TransitionXCommand <Void >
          org.apache.oozie.command.ResumeTransitionXCommand 
 
All Implemented Interfaces:  Callable <Void >, XCallable <Void > 
 
Direct Known Subclasses:  BundleJobResumeXCommand , CoordResumeXCommand  
 
 
public abstract class ResumeTransitionXCommand  extends TransitionXCommand <Void >  
 
 
  
  
 
 
 
 
Method Summary   
 
protected  Void   
execute  ()
 
          Command execution body. 
 
abstract  void  
resumeChildren  ()
 
          Resume all children of the job 
 
 void  
transitToNext  ()
 
          Transit job to PREP from PREPSUSPENDED or to RUNNING from SUSPENDED. 
 
  
  
Methods inherited from class org.apache.oozie.command.XCommand   
 
call , eagerLoadState , eagerVerifyPrecondition , getCreatedTime , getEntityKey , getInstrumentation , getKey , getLockTimeOut , getLog , getName , getPriority , getRequeueDelay , getType , isLockRequired , isReQueueRequired , loadState , queue , queue , resetUsed , verifyPrecondition  
 
  
Methods inherited from class java.lang.Object   
 
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
 
 
ResumeTransitionXCommand 
public ResumeTransitionXCommand  (String  name,
                                String  type,
                                int priority) 
 
 
ResumeTransitionXCommand 
public ResumeTransitionXCommand  (String  name,
                                String  type,
                                int priority,
                                boolean dryrun) 
 
 
resumeChildren 
public abstract void resumeChildren  ()
                             throws CommandException  
Resume all children of the job
Throws: 
CommandException  
 
  
 
transitToNext 
public void transitToNext  () 
Transit job to PREP from PREPSUSPENDED or to RUNNING from SUSPENDED.
Specified by: transitToNext  in class TransitionXCommand <Void > 
 
See Also: TransitionXCommand.transitToNext() 
 
  
 
execute 
protected Void  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 <Void > 
 
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. 
 
  
 
 
 
 
 
Copyright © 2012 Apache Software Foundation . All Rights Reserved.