org.jenkinsci.plugins.mesos
Class Mesos.MesosImpl

java.lang.Object
  extended by org.jenkinsci.plugins.mesos.Mesos
      extended by org.jenkinsci.plugins.mesos.Mesos.MesosImpl
Enclosing class:
Mesos

public static class Mesos.MesosImpl
extends Mesos


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jenkinsci.plugins.mesos.Mesos
Mesos.JenkinsSlave, Mesos.MesosImpl, Mesos.SlaveRequest
 
Constructor Summary
Mesos.MesosImpl()
           
 
Method Summary
 org.apache.mesos.Scheduler getScheduler()
           
 boolean isSchedulerRunning()
           
 void startJenkinsSlave(Mesos.SlaveRequest request, org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
          Starts a jenkins slave asynchronously in the mesos cluster.
 void startScheduler(String jenkinsMaster, MesosCloud mesosCloud)
           
 void stopJenkinsSlave(String name)
          Stop a jenkins slave asynchronously in the mesos cluster.
 void stopScheduler()
           
 void updateScheduler(MesosCloud mesosCloud)
           
 
Methods inherited from class org.jenkinsci.plugins.mesos.Mesos
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mesos.MesosImpl

public Mesos.MesosImpl()
Method Detail

startScheduler

public void startScheduler(String jenkinsMaster,
                           MesosCloud mesosCloud)
Specified by:
startScheduler in class Mesos

isSchedulerRunning

public boolean isSchedulerRunning()
Specified by:
isSchedulerRunning in class Mesos

stopScheduler

public void stopScheduler()
Specified by:
stopScheduler in class Mesos

startJenkinsSlave

public void startJenkinsSlave(Mesos.SlaveRequest request,
                              org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
Description copied from class: Mesos
Starts a jenkins slave asynchronously in the mesos cluster.

Specified by:
startJenkinsSlave in class Mesos
Parameters:
request - slave request.
result - this callback will be called when the slave starts.

stopJenkinsSlave

public void stopJenkinsSlave(String name)
Description copied from class: Mesos
Stop a jenkins slave asynchronously in the mesos cluster.

Specified by:
stopJenkinsSlave in class Mesos
Parameters:
name - jenkins slave.

updateScheduler

public void updateScheduler(MesosCloud mesosCloud)
Specified by:
updateScheduler in class Mesos

getScheduler

public org.apache.mesos.Scheduler getScheduler()
Specified by:
getScheduler in class Mesos


Copyright © 2004-2014. All Rights Reserved.