org.jenkinsci.plugins.chromedriver
Class ComputerListenerImpl

java.lang.Object
  extended by hudson.slaves.ComputerListener
      extended by org.jenkinsci.plugins.chromedriver.ComputerListenerImpl
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class ComputerListenerImpl
extends hudson.slaves.ComputerListener

Auto-installs chromedriver upon connection.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static String INSTALL_DIR
           
 
Constructor Summary
ComputerListenerImpl()
           
 
Method Summary
 void onOnline(hudson.model.Computer c, hudson.model.TaskListener listener)
           
 void preOnline(hudson.model.Computer c, hudson.remoting.Channel channel, hudson.FilePath root, hudson.model.TaskListener listener)
           
 void process(hudson.model.Computer c, hudson.FilePath root, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onLaunchFailure, onOffline, onOnline, preLaunch, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTALL_DIR

public static final String INSTALL_DIR
See Also:
Constant Field Values
Constructor Detail

ComputerListenerImpl

public ComputerListenerImpl()
Method Detail

onOnline

public void onOnline(hudson.model.Computer c,
                     hudson.model.TaskListener listener)
              throws IOException,
                     InterruptedException
Overrides:
onOnline in class hudson.slaves.ComputerListener
Throws:
IOException
InterruptedException

preOnline

public void preOnline(hudson.model.Computer c,
                      hudson.remoting.Channel channel,
                      hudson.FilePath root,
                      hudson.model.TaskListener listener)
               throws IOException,
                      InterruptedException
Overrides:
preOnline in class hudson.slaves.ComputerListener
Throws:
IOException
InterruptedException

process

public void process(hudson.model.Computer c,
                    hudson.FilePath root,
                    hudson.model.TaskListener listener)
             throws IOException,
                    InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2011. All Rights Reserved.