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 as
JUnitResultArchiver
,
which displays the trend report on the project top page.
This works with any AbstractTestResultAction
implementation.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Modifier and TypeFieldDescriptionfinal Job<?,
?> Project that owns this action.final AbstractProject<?,
?> Deprecated. -
Constructor Summary
ConstructorDescriptionTestResultProjectAction
(AbstractProject<?, ?> project) Deprecated.TestResultProjectAction
(Job<?, ?> job) -
Method Summary
Modifier and TypeMethodDescriptionprotected edu.hm.hafner.echarts.LinesChartModel
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 TODODeprecated.getConfigurableBuildTrendModel
(String configuration) No task list item.boolean
-
Field Details
-
job
Project that owns this action.- Since:
- 1.2-beta-1
-
project
Deprecated.
-
-
Constructor Details
-
TestResultProjectAction
- Since:
- 1.2-beta-1
-
TestResultProjectAction
Deprecated.
-
-
Method Details
-
getIconFileName
No task list item.- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getLastTestResultAction
-
createChartModel
Deprecated. -
doTrend
@Deprecated public void doTrend(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException Deprecated.Replaced by echarts in TODODisplay 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 TODOGenerates the clickable map HTML fragment fordoTrend(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.- Specified by:
getBuildTrendModel
in interfaceio.jenkins.plugins.echarts.AsyncTrendChart
-
getConfigurableBuildTrendModel
- 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
-