Class PortAllocator.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
org.jvnet.hudson.plugins.port_allocator.PortAllocator.DescriptorImpl
- Enclosing class:
- PortAllocator
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) doCheckName(String name) doCheckPort(String ports) getPoolByName(String poolName) Pool[]getPools()intgetPoolSize(String poolName) newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BuildWrapper>
-
getHelpFile
- Overrides:
getHelpFilein classDescriptor<BuildWrapper>
-
getPortTypes
-
newInstance
public BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classDescriptor<BuildWrapper>- Throws:
Descriptor.FormException
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein classDescriptor<BuildWrapper>- Throws:
Descriptor.FormException
-
doCheckPort
-
doCheckName
-
getPools
-
getPoolByName
- Throws:
PoolNotDefinedException
-
getPoolSize
- Throws:
PoolNotDefinedException
-