hudson.plugins.collabnet.util
Class ComboBoxUpdater.ProjectsUpdater

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

public static class ComboBoxUpdater.ProjectsUpdater
extends ComboBoxUpdater

Class to update a list of projects. Requires the login info (url, username, password) 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.ProjectsUpdater(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> getProjectList(CollabNetApp cna)
           
 
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.ProjectsUpdater

public ComboBoxUpdater.ProjectsUpdater(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

getProjectList

public static java.util.Collection<java.lang.String> getProjectList(CollabNetApp cna)
Returns:
a list of projects which has been sanitized.


Copyright © 2010. All Rights Reserved.