Mesos.JenkinsSlave, Mesos.MesosImpl, Mesos.SlaveRequest| Constructor and Description |
|---|
Mesos.MesosImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getInstancepublic void startScheduler(String jenkinsMaster, MesosCloud mesosCloud)
startScheduler in class Mesospublic boolean isSchedulerRunning()
isSchedulerRunning in class Mesospublic void stopScheduler()
stopScheduler in class Mesospublic void startJenkinsSlave(Mesos.SlaveRequest request, org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
MesosstartJenkinsSlave in class Mesosrequest - slave request.result - this callback will be called when the slave starts.public void stopJenkinsSlave(String name)
MesosstopJenkinsSlave in class Mesosname - jenkins slave.public void updateScheduler(MesosCloud mesosCloud)
updateScheduler in class Mesospublic org.apache.mesos.Scheduler getScheduler()
getScheduler in class MesosCopyright © 2004-2014. All Rights Reserved.