public static final class PortAllocator.DescriptorImpl extends Descriptor<BuildWrapper>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
FormValidation |
doCheckName(String name) |
FormValidation |
doCheckPort(String ports) |
String |
getDisplayName() |
String |
getHelpFile() |
Pool |
getPoolByName(String poolName) |
Pool[] |
getPools() |
int |
getPoolSize(String poolName) |
List<PortTypeDescriptor> |
getPortTypes() |
BuildWrapper |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<BuildWrapper>
public String getHelpFile()
getHelpFile
in class Descriptor<BuildWrapper>
public List<PortTypeDescriptor> getPortTypes()
public BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
newInstance
in class Descriptor<BuildWrapper>
Descriptor.FormException
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
configure
in class Descriptor<BuildWrapper>
Descriptor.FormException
public FormValidation doCheckPort(@QueryParameter(value="value") String ports)
public FormValidation doCheckName(@QueryParameter(value="value") String name)
public Pool[] getPools()
public Pool getPoolByName(String poolName) throws PoolNotDefinedException
PoolNotDefinedException
public int getPoolSize(String poolName) throws PoolNotDefinedException
PoolNotDefinedException
Copyright © 2016–2023. All rights reserved.