Package io.jenkins.plugins.coverage
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
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
The factory for theCoveragePullRequestMonitoringPortlet
. -
Konstruktorübersicht
-
Methodenübersicht
Von Klasse geerbte Methoden io.jenkins.plugins.monitoring.MonitorPortlet
toString
-
Konstruktordetails
-
CoveragePullRequestMonitoringPortlet
Creates a newCoveragePullRequestMonitoringPortlet
.- Parameter:
action
- theCoverageAction
of corresponding run.
-
-
Methodendetails
-
getTitle
- Angegeben von:
getTitle
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
getId
- Angegeben von:
getId
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
isDefault
public boolean isDefault()- Setzt außer Kraft:
isDefault
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
getPreferredWidth
public int getPreferredWidth()- Angegeben von:
getPreferredWidth
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
getPreferredHeight
public int getPreferredHeight()- Angegeben von:
getPreferredHeight
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
getIconUrl
- Setzt außer Kraft:
getIconUrl
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
getDetailViewUrl
- Setzt außer Kraft:
getDetailViewUrl
in Klasseio.jenkins.plugins.monitoring.MonitorPortlet
-
getCoverageResultsAsJsonModel
Get the json data for the stacked bar chart. (used by jelly view)- Gibt zurück:
- the data as json 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.
-