edu.umd.cloud9.util
Class PowerTool

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by edu.umd.cloud9.util.PowerTool
All Implemented Interfaces:
Configurable, Tool

public abstract class PowerTool
extends Configured
implements Tool


Constructor Summary
PowerTool(Configuration conf)
           
 
Method Summary
abstract  String[] getRequiredParameters()
           
 int run()
           
 int run(String[] args)
           
abstract  int runTool()
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

PowerTool

public PowerTool(Configuration conf)
Method Detail

run

public int run()
        throws Exception
Throws:
Exception

run

public int run(String[] args)
        throws Exception
Specified by:
run in interface Tool
Throws:
Exception

getRequiredParameters

public abstract String[] getRequiredParameters()

runTool

public abstract int runTool()
                     throws Exception
Throws:
Exception