org.jenkinsci.plugins.externalscheduler
Class ExternalScheduler
java.lang.Object
hudson.Plugin
org.jenkinsci.plugins.externalscheduler.ExternalScheduler
- All Implemented Interfaces:
- hudson.model.Describable<ExternalScheduler>, hudson.model.Saveable
public final class ExternalScheduler
- extends hudson.Plugin
- implements hudson.model.Describable<ExternalScheduler>
- Author:
- ogondza
| Nested classes/interfaces inherited from class hudson.Plugin |
hudson.Plugin.DummyImpl |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.Plugin |
configure, configure, doDynamic, getConfigXml, getWrapper, load, save, setServletContext, start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalScheduler
public ExternalScheduler()
getDispatcher
@Extension
public static Dispatcher getDispatcher()
- Register Dispatcher as a Jenkins extension
getUpdater
@Extension
public static RemoteUpdater getUpdater()
- Register RemoteUpdater as a Jenkins extension
postInitialize
public void postInitialize()
throws Exception
- Overrides:
postInitialize in class hudson.Plugin
- Throws:
Exception
stop
public void stop()
throws Exception
- Overrides:
stop in class hudson.Plugin
- Throws:
Exception
isActive
public boolean isActive()
- Determine whether the Planner plugin intercept Jenkins queue scheduling
currentSolution
public NodeAssignments currentSolution()
fetchSolution
public NodeAssignments fetchSolution()
- Fetch remote solution
- Returns:
- New assignments
sendQueue
public boolean sendQueue()
- Update Queue
- Returns:
- True if queue updated
getDescriptor
public ExternalScheduler.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<ExternalScheduler>
Copyright © 2004-2013. All Rights Reserved.