org.jenkinsci.plugins.mesos
Class MesosComputerLauncher

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
      extended by hudson.slaves.ComputerLauncher
          extended by org.jenkinsci.plugins.mesos.MesosComputerLauncher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>

public class MesosComputerLauncher
extends hudson.slaves.ComputerLauncher


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
 
Constructor Summary
MesosComputerLauncher(String _name)
           
 
Method Summary
 void launch(hudson.slaves.SlaveComputer _computer, hudson.model.TaskListener listener)
          Launches a mesos task that starts the jenkins slave.
 void terminate()
          Kills the mesos task that corresponds to the Jenkins slave, asynchronously.
 
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MesosComputerLauncher

public MesosComputerLauncher(String _name)
Method Detail

launch

public void launch(hudson.slaves.SlaveComputer _computer,
                   hudson.model.TaskListener listener)
            throws InterruptedException
Launches a mesos task that starts the jenkins slave. NOTE: This has to be a blocking call:

Overrides:
launch in class hudson.slaves.ComputerLauncher
Throws:
InterruptedException
See Also:
ComputerLauncher.launch(hudson.slaves.SlaveComputer, hudson.model.TaskListener)

terminate

public void terminate()
Kills the mesos task that corresponds to the Jenkins slave, asynchronously.



Copyright © 2004-2014. All Rights Reserved.