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()
ReportProvidergetCloverReportUrl in interface ReportProvidernull if not exists@Nullable public String getCloverReportUrl(@NotNull Artifact artifact)
ReportProvidergetCloverReportUrl in interface ReportProvidernull if not exists@NotNull public ImmutableResultsSummary getBuildResultsSummary()
ReportProvidergetBuildResultsSummary in interface ReportProvider@Deprecated @NotNull public String getTimestamp()
ReportProvidergetTimestamp in interface ReportProvider@NotNull public String getTimestamp(@NotNull Artifact artifact)
ReportProvidergetTimestamp in interface ReportProviderpublic boolean isCloverReport(@NotNull
Artifact artifact)
ReportProvidertrue if given artifact contains Clover's HTML report.isCloverReport in interface ReportProviderartifact - artifact to checkpublic boolean isCloverAdgReport(@NotNull
Artifact artifact)
ReportProvidertrue if given artifact contains Clover's HTML report in ADG style (introduced in Clover 4)isCloverAdgReport in interface ReportProviderartifact - artifact to check@NotNull public Collection<Artifact> getCloverArtifacts()
ReportProvidergetCloverArtifacts in interface ReportProviderCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.