hudson.scm
Class RepositoryBrowsers

java.lang.Object
  extended by hudson.scm.RepositoryBrowsers

public class RepositoryBrowsers
extends Object

List of all installed RepositoryBrowsers.

Author:
Kohsuke Kawaguchi

Field Summary
static List<Descriptor<RepositoryBrowser<?>>> LIST
          Deprecated. as of 1.286. Use RepositoryBrowser.all() for read access and Extension for registration.
 
Constructor Summary
RepositoryBrowsers()
           
 
Method Summary
static
<T extends RepositoryBrowser>
T
createInstance(Class<T> type, org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject parent, String fieldName)
          Creates an instance of RepositoryBrowser from a form submission.
static
<T extends RepositoryBrowser>
T
createInstance(Class<T> type, org.kohsuke.stapler.StaplerRequest req, String fieldName)
          Deprecated. since 2008-06-19. Use createInstance(Class, StaplerRequest, JSONObject, String).
static List<Descriptor<RepositoryBrowser<?>>> filter(Class<? extends RepositoryBrowser> t)
          Only returns those RepositoryBrowser descriptors that extend from the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIST

public static final List<Descriptor<RepositoryBrowser<?>>> LIST
Deprecated. as of 1.286. Use RepositoryBrowser.all() for read access and Extension for registration.
List of all installed RepositoryBrowsers.

Constructor Detail

RepositoryBrowsers

public RepositoryBrowsers()
Method Detail

filter

public static List<Descriptor<RepositoryBrowser<?>>> filter(Class<? extends RepositoryBrowser> t)
Only returns those RepositoryBrowser descriptors that extend from the given type.


createInstance

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. Use createInstance(Class, StaplerRequest, JSONObject, String).

Creates an instance of RepositoryBrowser 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 of RepositoryBrowser from a form submission.

Throws:
Descriptor.FormException
Since:
1.227


Copyright © 2004-2013. All Rights Reserved.