Package hudson.tasks.test
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 asJUnitResultArchiver
, which displays the trend report on the project top page.This works with any
AbstractTestResultAction
implementation.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description Job<?,?>
job
Project that owns this action.AbstractProject<?,?>
project
Deprecated.
-
Constructor Summary
Constructors Constructor Description TestResultProjectAction(AbstractProject<?,?> project)
Deprecated.TestResultProjectAction(Job<?,?> job)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected edu.hm.hafner.echarts.LinesChartModel
createChartModel()
Deprecated.void
doFlipTrend(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Changes the test result report display mode.void
doTrend(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Deprecated.Replaced by echarts in TODOvoid
doTrendMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Deprecated.Replaced by echarts in TODOString
getBuildTrendModel()
Deprecated.String
getConfigurableBuildTrendModel(String configuration)
String
getDisplayName()
String
getIconFileName()
No task list item.AbstractTestResultAction
getLastTestResultAction()
String
getUrlName()
boolean
isTrendVisible()
-
-
-
Field Detail
-
job
public final Job<?,?> job
Project that owns this action.- Since:
- 1.2-beta-1
-
project
@Deprecated public final AbstractProject<?,?> project
Deprecated.
-
-
Constructor Detail
-
TestResultProjectAction
public TestResultProjectAction(Job<?,?> job)
- Since:
- 1.2-beta-1
-
TestResultProjectAction
@Deprecated public TestResultProjectAction(AbstractProject<?,?> project)
Deprecated.
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
No task list item.- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
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, javax.servlet.ServletException
Deprecated.Replaced by echarts in TODODisplay the test result trend.- Throws:
IOException
javax.servlet.ServletException
-
doTrendMap
@Deprecated public void doTrendMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
Deprecated.Replaced by echarts in TODOGenerates the clickable map HTML fragment fordoTrend(StaplerRequest, StaplerResponse)
.- Throws:
IOException
javax.servlet.ServletException
-
doFlipTrend
public void doFlipTrend(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
Changes the test result report display mode.- Throws:
IOException
javax.servlet.ServletException
-
getBuildTrendModel
@Deprecated public String getBuildTrendModel()
Deprecated.- Specified by:
getBuildTrendModel
in interfaceio.jenkins.plugins.echarts.AsyncTrendChart
-
getConfigurableBuildTrendModel
@JavaScriptMethod public String getConfigurableBuildTrendModel(String configuration)
- Specified by:
getConfigurableBuildTrendModel
in interfaceio.jenkins.plugins.echarts.AsyncConfigurableTrendChart
-
isTrendVisible
public boolean isTrendVisible()
- Specified by:
isTrendVisible
in interfaceio.jenkins.plugins.echarts.AsyncConfigurableTrendChart
- Specified by:
isTrendVisible
in interfaceio.jenkins.plugins.echarts.AsyncTrendChart
-
-