public class RecentReleasesPortlet extends hudson.plugins.view.dashboard.DashboardPortlet
Modifier and Type | Class and Description |
---|---|
static class |
RecentReleasesPortlet.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
RecentReleasesPortlet(String name) |
Modifier and Type | Method and Description |
---|---|
void |
doRssAll(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
void |
doRssFailed(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
Collection<Run> |
getRecentReleases(int max) |
String |
getReleaseVersion(Run run)
Get the release version from this run
|
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
@DataBoundConstructor public RecentReleasesPortlet(String name)
public Collection<Run> getRecentReleases(int max)
public String getReleaseVersion(Run run)
run
- Must be a release run - i.e. have a ReleaseBuildBadgeActionReleaseWrapper.ReleaseBuildBadgeAction.getReleaseVersion()
public void doRssAll(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public void doRssFailed(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2016–2022. All rights reserved.