Class CloverXmlFileValidator
- java.lang.Object
-
- com.atlassian.bamboo.clover.builder.coverage.CloverXmlFileValidator
-
@Component public class CloverXmlFileValidator extends Object
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
Constructors Constructor Description CloverXmlFileValidator(@NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull BuildLoggerManager buildLoggerManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateCloverXmlFile(@NotNull File cloverXmlFile, long taskStartTime, @NotNull PlanResultKey planResultKey)
-
-
-
Constructor Detail
-
CloverXmlFileValidator
public CloverXmlFileValidator(@NotNull @NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull @NotNull BuildLoggerManager buildLoggerManager)
-
-
Method Detail
-
validateCloverXmlFile
public void validateCloverXmlFile(@NotNull @NotNull File cloverXmlFile, long taskStartTime, @NotNull @NotNull PlanResultKey planResultKey)
-
-