hudson.plugins.hadoop
Class PluginImpl

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.hadoop.PluginImpl
All Implemented Interfaces:
hudson.model.Saveable

public class PluginImpl
extends hudson.Plugin

Hadoop plugin.

Author:
Kohsuke Kawaguchi

Field Summary
static int JOB_TRACKER_PORT_NUMBER
          Job tracker port number.
 
Fields inherited from class hudson.Plugin
NONE
 
Constructor Summary
PluginImpl()
           
 
Method Summary
static PluginImpl get()
           
 java.lang.String getHdfsUrl()
          Determines the HDFS URL.
 java.lang.String getJobTrackerAddress()
          Determines the job tracker address.
 void start()
           
 void stop()
           
 
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, load, save, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_TRACKER_PORT_NUMBER

public static final int JOB_TRACKER_PORT_NUMBER
Job tracker port number.

See Also:
Constant Field Values
Constructor Detail

PluginImpl

public PluginImpl()
Method Detail

start

public void start()
           throws java.lang.Exception
Overrides:
start in class hudson.Plugin
Throws:
java.lang.Exception

getHdfsUrl

public java.lang.String getHdfsUrl()
                            throws java.net.MalformedURLException
Determines the HDFS URL.

Throws:
java.net.MalformedURLException

getJobTrackerAddress

public java.lang.String getJobTrackerAddress()
                                      throws java.net.MalformedURLException
Determines the job tracker address.

Throws:
java.net.MalformedURLException

stop

public void stop()
          throws java.lang.Exception
Overrides:
stop in class hudson.Plugin
Throws:
java.lang.Exception

get

public static PluginImpl get()


Copyright © 2009. All Rights Reserved.