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. a CoverageBuildAction with a Node instance). This action also is responsible to render the historical trend via its associated 'floatingBox.jelly' view.
Author:
Ullrich Hafner
  • Method Details

    • 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 interface Action
      Specified by:
      getUrlName in class io.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 class io.jenkins.plugins.echarts.TrendChartJobAction<CoverageBuildAction>
    • getLatestAction

      public Optional<CoverageBuildAction> getLatestAction()
      Overrides:
      getLatestAction in class io.jenkins.plugins.util.JobAction<CoverageBuildAction>