hudson.plugins.labmanager
Class LabManagerVirtualMachineSlave.LabManagerVirtualMComputerListener

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

@Extension
public static class LabManagerVirtualMachineSlave.LabManagerVirtualMComputerListener
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.LabManagerVirtualMComputerListener()
           
 
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.LabManagerVirtualMComputerListener

public LabManagerVirtualMachineSlave.LabManagerVirtualMComputerListener()
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.