Class CoverageJobAction
- java.lang.Object
-
- io.jenkins.plugins.util.JobAction<T>
-
- io.jenkins.plugins.echarts.TrendChartJobAction<CoverageBuildAction>
-
- com.parasoft.findings.jenkins.coverage.api.metrics.steps.CoverageJobAction
-
- All Implemented Interfaces:
Action
,ModelObject
,io.jenkins.plugins.echarts.AsyncConfigurableTrendChart
public class CoverageJobAction extends io.jenkins.plugins.echarts.TrendChartJobAction<CoverageBuildAction>
Project level action for the coverage results. A job action displays a link on the side panel of a job that refers to the last build that contains coverage results (i.e. aCoverageBuildAction
with aNode
instance). This action also is responsible to render the historical trend via its associated 'floatingBox.jelly' view.- Author:
- Ullrich Hafner
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected edu.hm.hafner.echarts.line.LinesChartModel
createChartModel(String configuration)
String
getDisplayName()
String
getIconFileName()
Optional<CoverageBuildAction>
getLatestAction()
Job<?,?>
getProject()
String
getSearchUrl()
String
getTrendName()
Returns a label for the trend chart.String
getUrlName()
-
Methods inherited from class io.jenkins.plugins.echarts.TrendChartJobAction
createBuildHistory, getConfigurableBuildTrendModel, isTrendVisible
-
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
-
getDisplayName
public String getDisplayName()
-
getTrendName
public String getTrendName()
Returns a label for the trend chart.- Returns:
- a label for the trend chart
-
getUrlName
@NonNull public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classio.jenkins.plugins.echarts.TrendChartJobAction<CoverageBuildAction>
-
getProject
public Job<?,?> getProject()
-
getSearchUrl
public String getSearchUrl()
-
createChartModel
protected edu.hm.hafner.echarts.line.LinesChartModel createChartModel(String configuration)
- Specified by:
createChartModel
in classio.jenkins.plugins.echarts.TrendChartJobAction<CoverageBuildAction>
-
getLatestAction
public Optional<CoverageBuildAction> getLatestAction()
- Overrides:
getLatestAction
in classio.jenkins.plugins.util.JobAction<CoverageBuildAction>
-
-