Class CloverXmlFileValidator
java.lang.Object
com.atlassian.bamboo.clover.builder.coverage.CloverXmlFileValidator
Validates a Clover report file to ensure it has been modified after the build started.
In case the file is older than the build start time, a warning is logged and an error is recorded.
- Since:
- 9.6.0
-
Constructor Summary
ConstructorDescriptionCloverXmlFileValidator
(@NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull BuildLoggerManager buildLoggerManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
validateCloverXmlFile
(@NotNull File cloverXmlFile, long taskStartTime, @NotNull PlanResultKey planResultKey)
-
Constructor Details
-
CloverXmlFileValidator
public CloverXmlFileValidator(@NotNull @NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull @NotNull BuildLoggerManager buildLoggerManager)
-
-
Method Details
-
validateCloverXmlFile
public void validateCloverXmlFile(@NotNull @NotNull File cloverXmlFile, long taskStartTime, @NotNull @NotNull PlanResultKey planResultKey)
-