|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.clover.build.coverage.CloverReportLinker
public class CloverReportLinker
Field Summary | |
---|---|
com.google.common.base.Predicate<Artifact> |
isCloverReportPredicate
|
static String |
REPORT_DATE_FORMAT
|
protected com.google.common.base.Function<ArtifactLink,Artifact> |
toArtifact
|
Constructor Summary | |
---|---|
CloverReportLinker(ResultsSummary summary,
ArtifactLinkManager artifactLinkManager,
String baseUrl)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REPORT_DATE_FORMAT
protected final com.google.common.base.Function<ArtifactLink,Artifact> toArtifact
public final com.google.common.base.Predicate<Artifact> isCloverReportPredicate
Constructor Detail |
---|
public CloverReportLinker(@NotNull ResultsSummary summary, @NotNull ArtifactLinkManager artifactLinkManager, @NotNull String baseUrl)
Method Detail |
---|
@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 check
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |