@Extension public class NodePools extends jenkins.model.GlobalConfiguration implements Iterable<NodePool>
Constructor and Description |
---|
NodePools() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static NodePools |
get() |
List<NodePool> |
getNodePools() |
Iterator<NodePool> |
iterator() |
List<NodePool> |
nodePoolsForLabel(hudson.model.Label label) |
void |
provisionNode(hudson.model.Label label,
hudson.model.Queue.Task task) |
void |
readObject(ObjectInputStream in) |
void |
setNodePools(List<NodePool> nodePools) |
Stream<NodePool> |
stream() |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static NodePools get()
public void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class jenkins.model.GlobalConfiguration
hudson.model.Descriptor.FormException
public void provisionNode(hudson.model.Label label, hudson.model.Queue.Task task)
Copyright © 2016–2018. All rights reserved.