Package hudson.plugins.mercurial.browser
Class ScmManager.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<RepositoryBrowser<?>>
hudson.plugins.mercurial.browser.HgBrowser.HgBrowserDescriptor
hudson.plugins.mercurial.browser.ScmManager.DescriptorImpl
- Enclosing class:
- ScmManager
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected FormValidation
Perform optional additional checks on URL, such as that it uses a particular host.doCheckUrl
(String url) Stapler does not seem to (reliably) find the web method on subclasses, so each needs to implement this to callHgBrowser.HgBrowserDescriptor._doCheckUrl(java.lang.String)
.Methods inherited from class hudson.plugins.mercurial.browser.HgBrowser.HgBrowserDescriptor
_doCheckUrl
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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<RepositoryBrowser<?>>
-
doCheckUrl
Description copied from class:HgBrowser.HgBrowserDescriptor
Stapler does not seem to (reliably) find the web method on subclasses, so each needs to implement this to callHgBrowser.HgBrowserDescriptor._doCheckUrl(java.lang.String)
.HgBrowser.HgBrowserDescriptor.check(java.net.URL)
may be used for browser-specific checks.- Specified by:
doCheckUrl
in classHgBrowser.HgBrowserDescriptor
-
check
Description copied from class:HgBrowser.HgBrowserDescriptor
Perform optional additional checks on URL, such as that it uses a particular host.- Overrides:
check
in classHgBrowser.HgBrowserDescriptor
-