java.lang.Object
jenkins.model.Tab
io.jenkins.plugins.analysis.core.model.RunTab
All Implemented Interfaces:
Action, ModelObject, Badgeable

public class RunTab extends Tab
Defines the Warnings tab for a run.
  • Constructor Details

    • RunTab

      public RunTab(Actionable object)
      Constructs a new RunTab.
      Parameters:
      object - the run to construct the tab for
  • Method Details

    • getIconFileName

      public String getIconFileName()
    • getDisplayName

      public String getDisplayName()
    • getUrlName

      public String getUrlName()
    • getBadge

      public Badge getBadge()
    • getWidget

      public Widget getWidget()
      Generates the widget for the Overview tab.
      Returns:
      the widget.
    • getWarningActions

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<ResultAction> getWarningActions()
      The list of warning actions belonging to a run.
      Returns:
      the list of ordered warning actions, sorted by warning count, then alphabetized.
    • doIndex

      public org.kohsuke.stapler.HttpRedirect doIndex(org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException
      Redirects to first warning action if new UI enabled.
      Parameters:
      rsp - the response to use for forwarding if the new UI is disabled.
      Returns:
      the highest priority warning action.
      Throws:
      IOException - If an input or output exception occurs.
    • getDynamic

      public ResultAction getDynamic(String name)
      Renders a dynamic warning action of the Warnings tab.
      Parameters:
      name - the name of the warning action to render.
      Returns:
      the warning action.