This project has retired. For details please refer to its
        
        Attic page .
      
 
 
SubmitHttpXCommand (Oozie Core 3.1.3-incubating API)
 
 
 
 
 
 
 
 
 
org.apache.oozie.command.wf 
 
Class SubmitHttpXCommand 
java.lang.Object 
  org.apache.oozie.command.XCommand <T>
      org.apache.oozie.command.wf.WorkflowXCommand <String >
          org.apache.oozie.command.wf.SubmitHttpXCommand 
 
All Implemented Interfaces:  Callable <String >, XCallable <String > 
 
Direct Known Subclasses:  SubmitMRXCommand , SubmitPigXCommand  
 
 
public abstract class SubmitHttpXCommand  extends WorkflowXCommand <String >  
 
 
  
 
 
 
 
Method Summary   
 
protected  String   
execute  ()
 
          Command execution body. 
 
protected abstract  String   
getWorkflowXml  (org.apache.hadoop.conf.Configuration conf)
 
          Generate workflow xml from conf object 
 
  
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  
 
 
 
MANDATORY_OOZIE_CONFS 
protected static final Set <String > MANDATORY_OOZIE_CONFS  
 
 
 
OPTIONAL_OOZIE_CONFS 
protected static final Set <String > OPTIONAL_OOZIE_CONFS  
 
 
 
SubmitHttpXCommand 
public SubmitHttpXCommand  (String  name,
                          String  type,
                          org.apache.hadoop.conf.Configuration conf,
                          String  authToken) 
 
 
getWorkflowXml 
protected abstract String  getWorkflowXml  (org.apache.hadoop.conf.Configuration conf) 
Generate workflow xml from conf object
Parameters: conf - the configuration object
Returns: workflow xml def string representation  
 
  
 
execute 
protected String  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.
Specified by: execute  in class XCommand <String > 
 
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.