Klasse CoveragePullRequestMonitoringPortlet

java.lang.Object
io.jenkins.plugins.monitoring.MonitorPortlet
io.jenkins.plugins.coverage.CoveragePullRequestMonitoringPortlet

public class CoveragePullRequestMonitoringPortlet extends io.jenkins.plugins.monitoring.MonitorPortlet
A portlet that can be used for the pull-request-monitoring dashboard. It renders the aggregated line and conditional coverage in a stacked bar chart and displays the delta, if a reference build is found.
Autor:
Simon Symhoven
  • Konstruktordetails

  • Methodendetails

    • getTitle

      public String getTitle()
      Angegeben von:
      getTitle in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getId

      public String getId()
      Angegeben von:
      getId in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • isDefault

      public boolean isDefault()
      Setzt außer Kraft:
      isDefault in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getPreferredWidth

      public int getPreferredWidth()
      Angegeben von:
      getPreferredWidth in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getPreferredHeight

      public int getPreferredHeight()
      Angegeben von:
      getPreferredHeight in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getIconUrl

      public Optional<String> getIconUrl()
      Setzt außer Kraft:
      getIconUrl in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getDetailViewUrl

      public Optional<String> getDetailViewUrl()
      Setzt außer Kraft:
      getDetailViewUrl in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getCoverageResultsAsJsonModel

      public String getCoverageResultsAsJsonModel()
      Get the json data for the stacked bar chart. (used by jelly view)
      Gibt zurück:
      the data as json string.
    • getReferenceBuildUrl

      public Optional<String> getReferenceBuildUrl()
      Get the link to the build, that was used to compare the result with.
      Gibt zurück:
      optional of the link to the build or empty optional.