Class HubotSite.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<HubotSite>
-
- org.thoughtslive.jenkins.plugins.hubot.config.HubotSite.DescriptorImpl
-
- Enclosing class:
- HubotSite
@Extension public static class HubotSite.DescriptorImpl extends Descriptor<HubotSite>
-
-
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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoValidate(Item project, String name, String url, String room, String roomPrefix, boolean useFolderName)Checks if the site is valid and send a test message.StringgetDisplayName()-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<HubotSite>
-
doValidate
public FormValidation doValidate(@AncestorInPath Item project, @QueryParameter String name, @QueryParameter String url, @QueryParameter String room, @QueryParameter String roomPrefix, @QueryParameter boolean useFolderName) throws IOException
Checks if the site is valid and send a test message.- Throws:
IOException
-
-