Class TestResultProjectAction

java.lang.Object
hudson.tasks.test.TestResultProjectAction
All Implemented Interfaces:
Action, ModelObject, io.jenkins.plugins.echarts.AsyncConfigurableTrendChart, io.jenkins.plugins.echarts.AsyncTrendChart

public class TestResultProjectAction extends Object implements Action, io.jenkins.plugins.echarts.AsyncTrendChart, io.jenkins.plugins.echarts.AsyncConfigurableTrendChart
Project action object from test reporter, such as JUnitResultArchiver, which displays the trend report on the project top page.

This works with any AbstractTestResultAction implementation.

Author:
Kohsuke Kawaguchi
  • Field Details

    • job

      public final Job<?,?> job
      Project that owns this action.
      Since:
      1.2-beta-1
    • project

      @Deprecated public final AbstractProject<?,?> project
      Deprecated.
  • Constructor Details

    • TestResultProjectAction

      public TestResultProjectAction(Job<?,?> job)
      Since:
      1.2-beta-1
    • TestResultProjectAction

      @Deprecated public TestResultProjectAction(AbstractProject<?,?> project)
      Deprecated.
  • Method Details

    • getIconFileName

      public String getIconFileName()
      No task list item.
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getLastTestResultAction

      public AbstractTestResultAction getLastTestResultAction()
    • createChartModel

      @Deprecated protected edu.hm.hafner.echarts.LinesChartModel createChartModel()
      Deprecated.
    • doTrend

      @Deprecated public void doTrend(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
      Deprecated.
      Replaced by echarts in TODO
      Display the test result trend.
      Throws:
      IOException
    • doTrendMap

      @Deprecated public void doTrendMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
      Deprecated.
      Replaced by echarts in TODO
      Generates the clickable map HTML fragment for doTrend(StaplerRequest, StaplerResponse).
      Throws:
      IOException
    • doFlipTrend

      public void doFlipTrend(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
      Changes the test result report display mode.
      Throws:
      IOException
    • getBuildTrendModel

      @Deprecated public String getBuildTrendModel()
      Deprecated.
      Specified by:
      getBuildTrendModel in interface io.jenkins.plugins.echarts.AsyncTrendChart
    • getConfigurableBuildTrendModel

      @JavaScriptMethod public String getConfigurableBuildTrendModel(String configuration)
      Specified by:
      getConfigurableBuildTrendModel in interface io.jenkins.plugins.echarts.AsyncConfigurableTrendChart
    • isTrendVisible

      public boolean isTrendVisible()
      Specified by:
      isTrendVisible in interface io.jenkins.plugins.echarts.AsyncConfigurableTrendChart
      Specified by:
      isTrendVisible in interface io.jenkins.plugins.echarts.AsyncTrendChart