hudson.plugins.collabnet.util
Class ComboBoxUpdater.ReleasesUpdater
java.lang.Object
hudson.plugins.collabnet.util.ComboBoxUpdater
hudson.plugins.collabnet.util.ComboBoxUpdater.ReleasesUpdater
- Enclosing class:
- ComboBoxUpdater
public static class ComboBoxUpdater.ReleasesUpdater
- extends ComboBoxUpdater
Class to update the list of releases. Requires a StaplerRequest with
login info (url, username, password), project, and (optionally) package.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComboBoxUpdater.ReleasesUpdater
public ComboBoxUpdater.ReleasesUpdater(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
getList
protected java.util.Collection<java.lang.String> getList()
- Specified by:
getList in class ComboBoxUpdater
getReleaseList
public static java.util.Collection<java.lang.String> getReleaseList(CollabNetApp cna,
java.lang.String packageId)
- Returns:
- a list of releases in the package which has been sanitized.
getProjectReleaseList
public static java.util.Collection<java.lang.String> getProjectReleaseList(CollabNetApp cna,
java.lang.String projectId)
- Returns:
- a list of all releases in the project which has been
sanitized.
Copyright © 2010. All Rights Reserved.