hudson.plugins.selenium
Class ComputerListenerImpl

java.lang.Object
  extended by hudson.slaves.ComputerListener
      extended by hudson.plugins.selenium.ComputerListenerImpl
All Implemented Interfaces:
hudson.ExtensionPoint, java.io.Serializable

@Extension
public class ComputerListenerImpl
extends hudson.slaves.ComputerListener
implements java.io.Serializable

When a new slave is connected, launch a selenium RC.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ComputerListenerImpl()
           
 
Method Summary
 void onOnline(hudson.model.Computer c, hudson.model.TaskListener listener)
          Starts a selenium RC remotely.
 
Methods inherited from class hudson.slaves.ComputerListener
all, onOffline, onOnline, preOnline, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputerListenerImpl

public ComputerListenerImpl()
Method Detail

onOnline

public void onOnline(hudson.model.Computer c,
                     hudson.model.TaskListener listener)
              throws java.io.IOException,
                     java.lang.InterruptedException
Starts a selenium RC remotely.

Overrides:
onOnline in class hudson.slaves.ComputerListener
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.