org.jenkinsci.plugins.mesos
Class Mesos
java.lang.Object
org.jenkinsci.plugins.mesos.Mesos
- Direct Known Subclasses:
- Mesos.MesosImpl
public abstract class Mesos
- extends Object
|
Constructor Summary |
Mesos()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mesos
public Mesos()
startScheduler
public abstract void startScheduler(String jenkinsMaster,
MesosCloud mesosCloud)
updateScheduler
public abstract void updateScheduler(MesosCloud mesosCloud)
isSchedulerRunning
public abstract boolean isSchedulerRunning()
stopScheduler
public abstract void stopScheduler()
getScheduler
public abstract org.apache.mesos.Scheduler getScheduler()
startJenkinsSlave
public abstract void startJenkinsSlave(Mesos.SlaveRequest request,
org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
- Starts a jenkins slave asynchronously in the mesos cluster.
- Parameters:
request - slave request.result - this callback will be called when the slave starts.
stopJenkinsSlave
public abstract void stopJenkinsSlave(String name)
- Stop a jenkins slave asynchronously in the mesos cluster.
- Parameters:
name - jenkins slave.
getInstance
public static Mesos getInstance()
- Returns:
- the mesos implementation instance
Copyright © 2004-2014. All Rights Reserved.