Package hudson.plugins.git.browser
Class TFS2013GitRepositoryBrowser.TFS2013GitRepositoryBrowserDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<RepositoryBrowser<?>>
-
- hudson.plugins.git.browser.TFS2013GitRepositoryBrowser.TFS2013GitRepositoryBrowserDescriptor
-
- Enclosing class:
- TFS2013GitRepositoryBrowser
@Extension @Symbol("teamFoundation") public static class TFS2013GitRepositoryBrowser.TFS2013GitRepositoryBrowserDescriptor extends Descriptor<RepositoryBrowser<?>>
-
-
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 TFS2013GitRepositoryBrowserDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckRepoUrl(String value, AbstractProject project)
Performs on-the-fly validation of the URL.String
getDisplayName()
TFS2013GitRepositoryBrowser
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jsonObject)
-
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<RepositoryBrowser<?>>
-
newInstance
public TFS2013GitRepositoryBrowser newInstance(org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject jsonObject) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<RepositoryBrowser<?>>
- Throws:
Descriptor.FormException
-
doCheckRepoUrl
public FormValidation doCheckRepoUrl(@QueryParameter(fixEmpty=true) String value, @AncestorInPath AbstractProject project) throws IOException, javax.servlet.ServletException
Performs on-the-fly validation of the URL.- Parameters:
value
- URL value to be checkedproject
- project context used for check- Returns:
- form validation result
- Throws:
IOException
- on input or output errorjavax.servlet.ServletException
- on servlet error
-
-