Package hudson.scm
Class RepositoryBrowsers
java.lang.Object
hudson.scm.RepositoryBrowsers
List of all installed
RepositoryBrowsers
.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Modifier and TypeFieldDescriptionstatic final List<Descriptor<RepositoryBrowser<?>>>
Deprecated.as of 1.286. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends RepositoryBrowser>
TcreateInstance
(Class<T> type, org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject parent, String fieldName) Creates an instance ofRepositoryBrowser
from a form submission.static <T extends RepositoryBrowser>
TcreateInstance
(Class<T> type, org.kohsuke.stapler.StaplerRequest req, String fieldName) Deprecated.since 2008-06-19.static <T extends RepositoryBrowser>
TcreateInstance
(Class<T> type, org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject parent, String fieldName) Deprecated.static List<Descriptor<RepositoryBrowser<?>>>
filter
(Class<? extends RepositoryBrowser> t) Only returns thoseRepositoryBrowser
descriptors that extend from the given type.
-
Field Details
-
LIST
Deprecated.as of 1.286. UseRepositoryBrowser.all()
for read access andExtension
for registration.List of all installedRepositoryBrowsers
.
-
-
Constructor Details
-
RepositoryBrowsers
public RepositoryBrowsers()
-
-
Method Details
-
filter
Only returns thoseRepositoryBrowser
descriptors that extend from the given type. -
createInstance
@Deprecated public static <T extends RepositoryBrowser> T createInstance(Class<T> type, org.kohsuke.stapler.StaplerRequest req, String fieldName) throws Descriptor.FormException Deprecated.since 2008-06-19. UsecreateInstance(Class, StaplerRequest2, JSONObject, String)
.Creates an instance ofRepositoryBrowser
from a form submission.- Throws:
Descriptor.FormException
-
createInstance
public static <T extends RepositoryBrowser> T createInstance(Class<T> type, org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject parent, String fieldName) throws Descriptor.FormException Creates an instance ofRepositoryBrowser
from a form submission.- Throws:
Descriptor.FormException
- Since:
- 2.475
-
createInstance
@Deprecated public static <T extends RepositoryBrowser> T createInstance(Class<T> type, org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject parent, String fieldName) throws Descriptor.FormException Deprecated.- Throws:
Descriptor.FormException
- Since:
- 1.227
-