hudson.plugins.labmanager
Class LabManagerVirtualMachineSlave.InternalComputerListener

java.lang.Object
  extended by hudson.slaves.ComputerListener
      extended by hudson.plugins.labmanager.LabManagerVirtualMachineSlave.InternalComputerListener
All Implemented Interfaces:
hudson.ExtensionPoint
Enclosing class:
LabManagerVirtualMachineSlave

@Extension
public static class LabManagerVirtualMachineSlave.InternalComputerListener
extends hudson.slaves.ComputerListener

Allow for a configurable maximum of VMs to be on at a given time


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
LabManagerVirtualMachineSlave.InternalComputerListener()
           
 
Method Summary
 void preLaunch(hudson.model.Computer c, hudson.model.TaskListener taskListener)
           
 
Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onLaunchFailure, onOffline, onOnline, onOnline, preOnline, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabManagerVirtualMachineSlave.InternalComputerListener

public LabManagerVirtualMachineSlave.InternalComputerListener()
Method Detail

preLaunch

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


Copyright © 2004-2011. All Rights Reserved.