Class PluginImpl

java.lang.Object
hudson.Plugin
hudson.plugins.sshslaves.PluginImpl
All Implemented Interfaces:
Saveable, org.kohsuke.stapler.StaplerProxy

public class PluginImpl extends Plugin
Entry point of the plugin.
Author:
Stephen Connolly
  • Constructor Details

    • PluginImpl

      public PluginImpl()
  • Method Details

    • start

      public void start() throws Exception
      Overrides:
      start in class Plugin
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Overrides:
      stop in class Plugin
      Throws:
      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.