hudson.plugins.release.dashboard
Class RecentReleasesPortlet

java.lang.Object
  extended by hudson.plugins.view.dashboard.DashboardPortlet
      extended by hudson.plugins.release.dashboard.RecentReleasesPortlet
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.view.dashboard.DashboardPortlet>, hudson.model.ModelObject

public class RecentReleasesPortlet
extends hudson.plugins.view.dashboard.DashboardPortlet


Nested Class Summary
static class RecentReleasesPortlet.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
RecentReleasesPortlet(java.lang.String name)
           
 
Method Summary
 void doRssAll(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 void doRssFailed(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.util.Collection<hudson.model.Run> getRecentReleases(int max)
           
 java.lang.String getReleaseVersion(hudson.model.Run run)
          Get the release version from this run
 
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentReleasesPortlet

@DataBoundConstructor
public RecentReleasesPortlet(java.lang.String name)
Method Detail

getRecentReleases

public java.util.Collection<hudson.model.Run> getRecentReleases(int max)

getReleaseVersion

public java.lang.String getReleaseVersion(hudson.model.Run run)
Get the release version from this run

Parameters:
run - Must be a release run - i.e. have a ReleaseBuildBadgeAction
Returns:

doRssAll

public void doRssAll(org.kohsuke.stapler.StaplerRequest req,
                     org.kohsuke.stapler.StaplerResponse rsp)
              throws java.io.IOException,
                     javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doRssFailed

public void doRssFailed(org.kohsuke.stapler.StaplerRequest req,
                        org.kohsuke.stapler.StaplerResponse rsp)
                 throws java.io.IOException,
                        javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2004-2012. All Rights Reserved.