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