hudson.plugins.sshslaves
Class PluginImpl

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

public class PluginImpl
extends hudson.Plugin

Entry point of ssh-slaves plugin.

Author:
Stephen Connolly

Field Summary
 
Fields inherited from class hudson.Plugin
NONE
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
PluginImpl()
           
 
Method Summary
static void register(com.trilead.ssh2.Connection connection)
          Registers a connection for cleanup when the plugin is stopped.
 void start()
          
 void stop()
          
static void unregister(com.trilead.ssh2.Connection connection)
          Unregisters a connection for cleanup when the plugin is stopped.
 
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

stop

public void stop()
          throws java.lang.Exception

Overrides:
stop in class hudson.Plugin
Throws:
java.lang.Exception

register

public static void register(com.trilead.ssh2.Connection connection)
Registers a connection for cleanup when the plugin is stopped.

Parameters:
connection - The connection.

unregister

public static void unregister(com.trilead.ssh2.Connection connection)
Unregisters a connection for cleanup when the plugin is stopped.

Parameters:
connection - The connection.


Copyright © 2009. All Rights Reserved.