Package io.quarkus.jacoco.runtime
Interface JacocoConfig
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
@ConfigMapping(prefix="quarkus.jacoco")
public interface JacocoConfig
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf set totruethen the report data (source directories and class files) are aggregated so that a single report can be generated.dataFile()The Jacoco data file.booleanenabled()Whether or not the Jacoco extension is enabled.excludes()A list of class files to exclude from the report.footer()Footer text used in HTML report pages.includes()A list of class files to include in the report.Artifacts that should be instrumented.Encoding of the generated reports.booleanreport()If Quarkus should generate the Jacoco reportThe location of the report files.booleanWhether to reuse (true) or delete (false) the Jacoco data file on each run.Encoding of the source files.title()Name of the root node HTML report pages.
-
Field Details
-
JACOCO_QUARKUS_EXEC
- See Also:
-
JACOCO_REPORT
- See Also:
-
TARGET_JACOCO_QUARKUS_EXEC
- See Also:
-
TARGET_JACOCO_REPORT
- See Also:
-
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Whether or not the Jacoco extension is enabled. -
dataFile
The Jacoco data file. The path can be relative (to the project/module root) or absolute. -
reuseDataFile
@WithDefault("false") boolean reuseDataFile()Whether to reuse (true) or delete (false) the Jacoco data file on each run. -
report
@WithDefault("true") boolean report()If Quarkus should generate the Jacoco report -
outputEncoding
Encoding of the generated reports. -
title
Name of the root node HTML report pages. -
sourceEncoding
Encoding of the source files. -
includes
A list of class files to include in the report. May use wildcard characters (* and ?). When not specified everything will be included.For instance:
**/fo/**/*targets all classes under fo and sub packages**/bar/*targets all classes directly under bar**/*BAR*.classtargets classes that contain BAR in their name regardless of path
-
excludes
A list of class files to exclude from the report. May use wildcard characters (* and ?). When not specified nothing will be excluded.For instance:
**/fo/**/*targets all classes under fo and sub packages**/bar/*targets all classes directly under bar**/*BAR*.classtargets classes that contain BAR in their name regardless of path
-
reportLocation
The location of the report files. The path can be relative (to the project/module root) or absolute. -
instrumentArtifacts
@ConfigDocSection @ConfigDocMapKey("dependency-name") Map<String,io.quarkus.deployment.index.IndexDependencyConfig> instrumentArtifacts()Artifacts that should be instrumented.By default, all application archives are instrumented. This property allows for fine-grained configuration. It is also necessary for extension authors, because runtime modules are usually not application archives.
-
aggregateReportData
@WithDefault("false") boolean aggregateReportData()If set totruethen the report data (source directories and class files) are aggregated so that a single report can be generated.
-