Package hudson.scm
Class RepositoryBrowsers
- java.lang.Object
-
- hudson.scm.RepositoryBrowsers
-
public class RepositoryBrowsers extends Object
List of all installedRepositoryBrowsers
.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static List<Descriptor<RepositoryBrowser<?>>>
LIST
Deprecated.as of 1.286.
-
Constructor Summary
Constructors Constructor Description RepositoryBrowsers()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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)
Creates an instance ofRepositoryBrowser
from a form submission.static List<Descriptor<RepositoryBrowser<?>>>
filter(Class<? extends RepositoryBrowser> t)
Only returns thoseRepositoryBrowser
descriptors that extend from the given type.
-
-
-
Field Detail
-
LIST
@Deprecated public static final List<Descriptor<RepositoryBrowser<?>>> LIST
Deprecated.as of 1.286. UseRepositoryBrowser.all()
for read access andExtension
for registration.List of all installedRepositoryBrowsers
.
-
-
Method Detail
-
filter
public static List<Descriptor<RepositoryBrowser<?>>> filter(Class<? extends RepositoryBrowser> t)
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, StaplerRequest, 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.StaplerRequest req, net.sf.json.JSONObject parent, String fieldName) throws Descriptor.FormException
Creates an instance ofRepositoryBrowser
from a form submission.- Throws:
Descriptor.FormException
- Since:
- 1.227
-
-