public class CloverReportLinker extends Object implements ReportProvider
Modifier and Type | Field and Description |
---|---|
static String |
REPORT_DATE_FORMAT |
Constructor and Description |
---|
CloverReportLinker(ResultsSummary summary,
ArtifactLinkManager artifactLinkManager,
String baseUrl) |
Modifier and Type | Method and Description |
---|---|
ImmutableResultsSummary |
getBuildResultsSummary()
Returns build results
|
Collection<Artifact> |
getCloverArtifacts()
Returns a list of artifacts (shared and local) containing Clover HTML report.
|
String |
getCloverReportUrl()
Deprecated.
since 5.7
|
String |
getCloverReportUrl(Artifact artifact)
Returns URL of the given report artifact.
|
String |
getTimestamp()
Deprecated.
since 5.7
|
String |
getTimestamp(Artifact artifact)
Returns timestamp of the given report artifact.
|
boolean |
isCloverAdgReport(Artifact artifact)
Returns
true if given artifact contains Clover's HTML report in ADG style (introduced in Clover 4) |
boolean |
isCloverReport(Artifact artifact)
Returns
true if given artifact contains Clover's HTML report. |
public static final String REPORT_DATE_FORMAT
public CloverReportLinker(@NotNull ResultsSummary summary, @NotNull ArtifactLinkManager artifactLinkManager, @NotNull String baseUrl)
@Deprecated @Nullable public String getCloverReportUrl()
ReportProvider
getCloverReportUrl
in interface ReportProvider
null
if not exists@Nullable public String getCloverReportUrl(@NotNull Artifact artifact)
ReportProvider
getCloverReportUrl
in interface ReportProvider
null
if not exists@NotNull public ImmutableResultsSummary getBuildResultsSummary()
ReportProvider
getBuildResultsSummary
in interface ReportProvider
@Deprecated @NotNull public String getTimestamp()
ReportProvider
getTimestamp
in interface ReportProvider
@NotNull public String getTimestamp(@NotNull Artifact artifact)
ReportProvider
getTimestamp
in interface ReportProvider
public boolean isCloverReport(@NotNull Artifact artifact)
ReportProvider
true
if given artifact contains Clover's HTML report.isCloverReport
in interface ReportProvider
artifact
- artifact to checkpublic boolean isCloverAdgReport(@NotNull Artifact artifact)
ReportProvider
true
if given artifact contains Clover's HTML report in ADG style (introduced in Clover 4)isCloverAdgReport
in interface ReportProvider
artifact
- artifact to check@NotNull public Collection<Artifact> getCloverArtifacts()
ReportProvider
getCloverArtifacts
in interface ReportProvider
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.