Package hudson.model

Class RSS

java.lang.Object
hudson.model.RSS

public final class RSS extends Object
RSS related code.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • RSS

      public RSS()
  • Method Details

    • forwardToRss

      public static <E> void forwardToRss(String title, String url, Collection<? extends E> entries, FeedAdapter<E> adapter, org.kohsuke.stapler.StaplerRequest2 req, jakarta.servlet.http.HttpServletResponse rsp) throws IOException, jakarta.servlet.ServletException
      Sends the RSS feed to the client.
      Parameters:
      title - Title of the feed.
      url - URL of the model object that owns this feed. Relative to the context root.
      entries - Entries to be listed in the RSS feed.
      adapter - Controls how to render entries to RSS.
      Throws:
      IOException
      jakarta.servlet.ServletException
      Since:
      2.475
    • forwardToRss

      @Deprecated public static <E> void forwardToRss(String title, String url, Collection<? extends E> entries, FeedAdapter<E> adapter, org.kohsuke.stapler.StaplerRequest req, javax.servlet.http.HttpServletResponse rsp) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • rss

      public static void rss(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String title, String url, RunList runList) throws IOException, jakarta.servlet.ServletException
      Sends the RSS feed to the client using a default feed adapter.
      Parameters:
      title - Title of the feed.
      url - URL of the model object that owns this feed. Relative to the context root.
      runList - Entries to be listed in the RSS feed.
      Throws:
      IOException
      jakarta.servlet.ServletException
      Since:
      2.475
    • rss

      @Deprecated public static void rss(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String title, String url, RunList runList) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
      Since:
      2.215
    • rss

      public static void rss(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String title, String url, RunList runList, FeedAdapter<Run> feedAdapter) throws IOException, jakarta.servlet.ServletException
      Sends the RSS feed to the client using a specific feed adapter.
      Parameters:
      title - Title of the feed.
      url - URL of the model object that owns this feed. Relative to the context root.
      runList - Entries to be listed in the RSS feed.
      feedAdapter - Controls how to render entries to RSS.
      Throws:
      IOException
      jakarta.servlet.ServletException
      Since:
      2.475
    • rss

      @Deprecated public static void rss(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String title, String url, RunList runList, FeedAdapter<Run> feedAdapter) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
      Since:
      2.215