Package hudson.plugins.git.browser
Class GitLab.GitLabDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<RepositoryBrowser<?>>
-
- hudson.plugins.git.browser.GitLab.GitLabDescriptor
-
- Enclosing class:
- GitLab
@Extension @Symbol("gitLab") public static class GitLab.GitLabDescriptor 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 GitLabDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoCheckVersion(String version)Validate the contents of the version field.StringgetDisplayName()GitLabnewInstance(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:
getDisplayNamein classDescriptor<RepositoryBrowser<?>>
-
newInstance
public GitLab newInstance(org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject jsonObject) throws Descriptor.FormException
- Overrides:
newInstancein classDescriptor<RepositoryBrowser<?>>- Throws:
Descriptor.FormException
-
doCheckVersion
public FormValidation doCheckVersion(@QueryParameter(fixEmpty=true) String version) throws IOException, javax.servlet.ServletException
Validate the contents of the version field.- Parameters:
version- gitlab version value entered by the user- Returns:
- validation result, either ok() or error(msg)
- Throws:
IOException- on input or output errorjavax.servlet.ServletException- on servlet error
-
-