public abstract class NodeDescriptor extends Descriptor<Node>
Descriptor
for Slave
.
This object needs to have newInstanceDetail.jelly view, which shows up in http://server/hudson/computers/new page as an explanation of this job type.
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Modifier and Type | Field and Description |
---|---|
static DescriptorList<Node> |
ALL
|
clazz
Modifier | Constructor and Description |
---|---|
protected |
NodeDescriptor() |
protected |
NodeDescriptor(Class<? extends Node> clazz) |
Modifier and Type | Method and Description |
---|---|
static DescriptorExtensionList<Node,NodeDescriptor> |
all()
Returns all the registered
NodeDescriptor descriptors. |
static List<NodeDescriptor> |
allInstantiable() |
FormValidation |
doCheckName(String value) |
String |
getConfigPage() |
void |
handleNewNodePage(ComputerSet computerSet,
String name,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Handles the form submission from the "/computer/new" page, which is the first form for creating a new node.
|
boolean |
isInstantiable()
Can the administrator create this type of nodes from UI?
Return false if it only makes sense for programs to create it, not through the "new node" UI.
|
String |
newInstanceDetailPage() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, 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
@Deprecated public static final DescriptorList<Node> ALL
public boolean isInstantiable()
public final String newInstanceDetailPage()
public void handleNewNodePage(ComputerSet computerSet, String name, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
name
- Name of the new node.IOException
javax.servlet.ServletException
public String getConfigPage()
getConfigPage
in class Descriptor<Node>
public FormValidation doCheckName(@QueryParameter String value)
public static DescriptorExtensionList<Node,NodeDescriptor> all()
NodeDescriptor
descriptors.public static List<NodeDescriptor> allInstantiable()
Copyright © 2016. All rights reserved.