hudson.plugins.collabnet.util
Class ComboBoxUpdater.ReposUpdater

java.lang.Object
  extended by hudson.plugins.collabnet.util.ComboBoxUpdater
      extended by hudson.plugins.collabnet.util.ComboBoxUpdater.ReposUpdater
Enclosing class:
ComboBoxUpdater

public static class ComboBoxUpdater.ReposUpdater
extends ComboBoxUpdater

Class to update a list of repos. Requires the login info (url, username, password) and project be set.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.collabnet.util.ComboBoxUpdater
ComboBoxUpdater.PackagesUpdater, ComboBoxUpdater.ProjectsUpdater, ComboBoxUpdater.ReleasesUpdater, ComboBoxUpdater.ReposUpdater, ComboBoxUpdater.TrackersUpdater, ComboBoxUpdater.UsersUpdater
 
Field Summary
 
Fields inherited from class hudson.plugins.collabnet.util.ComboBoxUpdater
log, request, response
 
Constructor Summary
ComboBoxUpdater.ReposUpdater(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 
Method Summary
protected  java.util.Collection<java.lang.String> getList()
           
static java.util.Collection<java.lang.String> getRepoList(CollabNetApp cna, java.lang.String projectId)
           
 
Methods inherited from class hudson.plugins.collabnet.util.ComboBoxUpdater
update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComboBoxUpdater.ReposUpdater

public ComboBoxUpdater.ReposUpdater(org.kohsuke.stapler.StaplerRequest req,
                                    org.kohsuke.stapler.StaplerResponse rsp)
Method Detail

getList

protected java.util.Collection<java.lang.String> getList()
Specified by:
getList in class ComboBoxUpdater

getRepoList

public static java.util.Collection<java.lang.String> getRepoList(CollabNetApp cna,
                                                                 java.lang.String projectId)
Returns:
a list of repos which has been sanitized.


Copyright © 2010. All Rights Reserved.