Package hudson.plugins.git.browser
Class Gitiles.ViewGitWebDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<RepositoryBrowser<?>>
-
- hudson.plugins.git.browser.Gitiles.ViewGitWebDescriptor
-
- Enclosing class:
- Gitiles
@Extension @Symbol("gitiles") public static class Gitiles.ViewGitWebDescriptor 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 ViewGitWebDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckRepoUrl(Item project, String repoUrl)
String
getDisplayName()
Gitiles
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 Gitiles 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(@AncestorInPath Item project, @QueryParameter(fixEmpty=true) String repoUrl) throws IOException, javax.servlet.ServletException, URISyntaxException
- Throws:
IOException
javax.servlet.ServletException
URISyntaxException
-
-