hudson.plugins.collabnet.util
Class ComboBoxUpdater.TrackersUpdater

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

public static class ComboBoxUpdater.TrackersUpdater
extends ComboBoxUpdater

Class to update a list of trackers. Requires that the login info (url, username, password) be set, as well as the project.


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.TrackersUpdater(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> getTrackerList(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.TrackersUpdater

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

getTrackerList

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


Copyright © 2010. All Rights Reserved.