org.apache.oozie.action.hadoop
Class DoAs

java.lang.Object
  extended by org.apache.oozie.action.hadoop.DoAs
All Implemented Interfaces:
Callable<Void>
Direct Known Subclasses:
KerberosDoAs

public class DoAs
extends Object
implements Callable<Void>


Constructor Summary
DoAs()
           
 
Method Summary
 Void call()
           
static void call(String user, Callable<Void> callable)
           
protected  Callable<Void> getCallable()
           
protected  String getUser()
           
 void setCallable(Callable<Void> callable)
           
 void setUser(String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoAs

public DoAs()
Method Detail

setUser

public void setUser(String user)

getUser

protected String getUser()

getCallable

protected Callable<Void> getCallable()

setCallable

public void setCallable(Callable<Void> callable)

call

public Void call()
          throws Exception
Specified by:
call in interface Callable<Void>
Throws:
Exception

call

public static void call(String user,
                        Callable<Void> callable)
                 throws Exception
Throws:
Exception


Copyright © 2012 Apache Software Foundation. All Rights Reserved.