Package rife.bld.extension
Class JacocoReportOperation
java.lang.Object
rife.bld.operations.AbstractOperation<JacocoReportOperation>
rife.bld.extension.JacocoReportOperation
Generates JaCoCo reports.
- Since:
- 1.0
- Author:
- Erik C. Thauvin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the locations of Java class files.classFiles
(File... classFiles) Sets the locations of Java class files.classFiles
(String... classFiles) Sets the locations of Java class files.classFiles
(Path... classFiles) Sets the locations of Java class files.classFiles
(Collection<File> classFiles) Sets the locations of Java class files.classFilesPaths
(Collection<Path> classFiles) Sets the locations of Java class files.classFilesStrings
(Collection<String> classFiles) Sets the locations of Java class files.Sets the location of the CSV report.Sets the location of the CSV report.Sets the location of the CSV report.Sets the file to write execution data to.Sets the file to write execution data to.Sets the file to write execution data to.Sets the source file encoding.Returns the locations of the JaCoCo *.exec files to read.Sets the locations of the JaCoCo *.exec files to read.Sets the locations of the JaCoCo *.exec files to read.Sets the locations of the JaCoCo *.exec files to read.execFiles
(Collection<File> execFiles) Sets the locations of the JaCoCo *.exec files to read.execFilesPaths
(Collection<Path> execFiles) Sets the locations of the JaCoCo *.exec files to read.execFilesStrings
(Collection<String> execFiles) Sets the locations of the JaCoCo *.exec files to read.void
execute()
Performs the operation execution that can be wrapped by the#executeOnce
call.fromProject
(BaseProject project) Configure the operation from aBaseProject
.Sets the location of the HTML report.Sets the location of the HTML report.Sets the location of the HTML report.Sets the name used for the report.quiet
(boolean quiet) Suppresses all output.Returns the locations of the source files.sourceFiles
(File... sourceFiles) Sets the locations of the source files.sourceFiles
(String... sourceFiles) Sets the locations of the source files.sourceFiles
(Path... sourceFiles) Sets the locations of the source files.sourceFiles
(Collection<File> sourceFiles) Sets the locations of the source files.sourceFilesPaths
(Collection<Path> sourceFiles) Sets the locations of the source files.sourceFilesStrings
(Collection<String> sourceFiles) Sets the locations of the source files.tabWidth
(int tabWidth) Sets the tab stop width for the source pages.Sets the location of the XML report.Sets the location of the XML report.Sets the location of the XML report.Methods inherited from class rife.bld.operations.AbstractOperation
executeOnce, executeOnce, silent, silent
-
Constructor Details
-
JacocoReportOperation
public JacocoReportOperation()
-
-
Method Details
-
classFiles
Sets the locations of Java class files.- Parameters:
classFiles
- the class files- Returns:
- this operation instance
- See Also:
-
classFiles
Sets the locations of Java class files.- Parameters:
classFiles
- the class files- Returns:
- this operation instance
- See Also:
-
classFiles
Sets the locations of Java class files.- Parameters:
classFiles
- the class files- Returns:
- this operation instance
- See Also:
-
classFiles
Returns the locations of Java class files.- Returns:
- the class files
-
classFiles
Sets the locations of Java class files.- Parameters:
classFiles
- the class files- Returns:
- this operation instance
- See Also:
-
classFilesPaths
Sets the locations of Java class files.- Parameters:
classFiles
- the class files- Returns:
- this operation instance
- See Also:
-
classFilesStrings
Sets the locations of Java class files.- Parameters:
classFiles
- the class files- Returns:
- this operation instance
- See Also:
-
csv
Sets the location of the CSV report.- Parameters:
csv
- the report location- Returns:
- this operation instance
-
csv
Sets the location of the CSV report.- Parameters:
csv
- the report location- Returns:
- this operation instance
-
csv
Sets the location of the CSV report.- Parameters:
csv
- the report location- Returns:
- this operation instance
-
destFile
Sets the file to write execution data to.- Parameters:
destFile
- the file- Returns:
- this operation instance
-
destFile
Sets the file to write execution data to.- Parameters:
destFile
- the file- Returns:
- this operation instance
-
destFile
Sets the file to write execution data to.- Parameters:
destFile
- the file- Returns:
- this operation instance
-
encoding
Sets the source file encoding. The platform encoding is used by default.- Parameters:
encoding
- the encoding- Returns:
- this operation instance
-
execFiles
Sets the locations of the JaCoCo *.exec files to read.- Parameters:
execFiles
- the exec files- Returns:
- this operation instance
- See Also:
-
execFiles
Sets the locations of the JaCoCo *.exec files to read.- Parameters:
execFiles
- the exec files- Returns:
- this operation instance
- See Also:
-
execFiles
Sets the locations of the JaCoCo *.exec files to read.- Parameters:
execFiles
- the exec files- Returns:
- this operation instance
- See Also:
-
execFiles
Sets the locations of the JaCoCo *.exec files to read.- Parameters:
execFiles
- the exec files- Returns:
- this operation instance
- See Also:
-
execFiles
Returns the locations of the JaCoCo *.exec files to read.- Returns:
- the exec files
-
execFilesPaths
Sets the locations of the JaCoCo *.exec files to read.- Parameters:
execFiles
- the exec files- Returns:
- this operation instance
- See Also:
-
execFilesStrings
Sets the locations of the JaCoCo *.exec files to read.- Parameters:
execFiles
- the exec files- Returns:
- this operation instance
- See Also:
-
execute
Performs the operation execution that can be wrapped by the#executeOnce
call.- Specified by:
execute
in classAbstractOperation<JacocoReportOperation>
- Throws:
Exception
-
fromProject
Configure the operation from aBaseProject
.- Parameters:
project
- the project- Returns:
- this operation instance
-
html
Sets the location of the HTML report.- Parameters:
html
- the html- Returns:
- this operation instance
-
html
Sets the location of the HTML report.- Parameters:
html
- the html- Returns:
- this operation instance
-
html
Sets the location of the HTML report.- Parameters:
html
- the html- Returns:
- this operation instance
-
name
Sets the name used for the report.- Parameters:
name
- the name- Returns:
- this operation instance
-
quiet
Suppresses all output.- Parameters:
quiet
-true
orfalse
- Returns:
- this operation instance
-
sourceFiles
Sets the locations of the source files. (e.g.,src/main/java
)- Parameters:
sourceFiles
- the source files- Returns:
- this operation instance
- See Also:
-
sourceFiles
Sets the locations of the source files. (e.g.,src/main/java
)- Parameters:
sourceFiles
- the source files- Returns:
- this operation instance
- See Also:
-
sourceFiles
Sets the locations of the source files. (e.g.,src/main/java
)- Parameters:
sourceFiles
- the source files- Returns:
- this operation instance
- See Also:
-
sourceFiles
Sets the locations of the source files. (e.g.,src/main/java
)- Parameters:
sourceFiles
- the source files- Returns:
- this operation instance
- See Also:
-
sourceFiles
Returns the locations of the source files.- Returns:
- the source files
-
sourceFilesPaths
Sets the locations of the source files. (e.g.,src/main/java
)- Parameters:
sourceFiles
- the source files- Returns:
- this operation instance
- See Also:
-
sourceFilesStrings
Sets the locations of the source files. (e.g.,src/main/java
)- Parameters:
sourceFiles
- the source files- Returns:
- this operation instance
- See Also:
-
tabWidth
Sets the tab stop width for the source pages. Default is4
.- Parameters:
tabWidth
- the tab width- Returns:
- this operation instance
-
xml
Sets the location of the XML report.- Parameters:
xml
- the report location- Returns:
- this operation instance
-
xml
Sets the location of the XML report.- Parameters:
xml
- the report location- Returns:
- this operation instance
-
xml
Sets the location of the XML report.- Parameters:
xml
- the report location- Returns:
- this operation instance
-