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 SummaryConstructors
- 
Method SummaryModifier 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.csv()Returns the CSV report location.Sets the location of the CSV report.Sets the location of the CSV report.Sets the location of the CSV report.destFile()Returns 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 file to write execution data to.encoding()Returns the source file encoding.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.voidexecute()Performs the operation execution that can be wrapped by the#executeOncecall.fromProject(BaseProject project) Configure the operation from aBaseProject.html()Returns the HTML report location.Sets the location of the HTML report.Sets the location of the HTML report.Sets the location of the HTML report.booleanisQuiet()Return the status of the quiet flag.name()Returns the name used for the 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.inttabWidth()Returns the tab stop width for the source pages.tabWidth(int tabWidth) Sets the tab stop width for the source pages.Returns the test tool options.testToolOptions(String... options) Sets the test tool options.testToolOptions(Collection<String> options) Sets the test tool options.xml()Returns the XML report location.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.AbstractOperationexecuteOnce, executeOnce, silent, silent
- 
Constructor Details- 
JacocoReportOperationpublic JacocoReportOperation()
 
- 
- 
Method Details- 
classFilesSets the locations of Java class files.- Parameters:
- classFiles- the class files
- Returns:
- this operation instance
- See Also:
 
- 
classFilesSets the locations of Java class files.- Parameters:
- classFiles- the class files
- Returns:
- this operation instance
- See Also:
 
- 
classFilesSets the locations of Java class files.- Parameters:
- classFiles- the class files
- Returns:
- this operation instance
- See Also:
 
- 
classFilesReturns the locations of Java class files.- Returns:
- the class files
 
- 
classFilesSets the locations of Java class files.- Parameters:
- classFiles- the class files
- Returns:
- this operation instance
- See Also:
 
- 
classFilesPathsSets the locations of Java class files.- Parameters:
- classFiles- the class files
- Returns:
- this operation instance
- See Also:
 
- 
classFilesStringsSets the locations of Java class files.- Parameters:
- classFiles- the class files
- Returns:
- this operation instance
- See Also:
 
- 
csvSets the location of the CSV report.- Parameters:
- csv- the report location
- Returns:
- this operation instance
 
- 
csvSets the location of the CSV report.- Parameters:
- csv- the report location
- Returns:
- this operation instance
 
- 
csvSets the location of the CSV report.- Parameters:
- csv- the report location
- Returns:
- this operation instance
 
- 
csvReturns the CSV report location.- Returns:
- the CSV report location
 
- 
destFileSets the file to write execution data to.- Parameters:
- destFile- the file
- Returns:
- this operation instance
 
- 
destFileSets the file to write execution data to.- Parameters:
- destFile- the file
- Returns:
- this operation instance
 
- 
destFileSets the file to write execution data to.- Parameters:
- destFile- the file
- Returns:
- this operation instance
 
- 
destFileReturns the file to write execution data to.- Returns:
- the file to write execution data to
 
- 
encodingSets the source file encoding. The platform encoding is used by default.- Parameters:
- encoding- the encoding
- Returns:
- this operation instance
 
- 
encodingReturns the source file encoding.- Returns:
- the source file encoding
 
- 
execFilesSets the locations of the JaCoCo *.exec files to read.- Parameters:
- execFiles- the exec files
- Returns:
- this operation instance
- See Also:
 
- 
execFilesSets the locations of the JaCoCo *.exec files to read.- Parameters:
- execFiles- the exec files
- Returns:
- this operation instance
- See Also:
 
- 
execFilesSets the locations of the JaCoCo *.exec files to read.- Parameters:
- execFiles- the exec files
- Returns:
- this operation instance
- See Also:
 
- 
execFilesSets the locations of the JaCoCo *.exec files to read.- Parameters:
- execFiles- the exec files
- Returns:
- this operation instance
- See Also:
 
- 
execFilesReturns the locations of the JaCoCo *.exec files to read.- Returns:
- the exec files
 
- 
execFilesPathsSets the locations of the JaCoCo *.exec files to read.- Parameters:
- execFiles- the exec files
- Returns:
- this operation instance
- See Also:
 
- 
execFilesStringsSets the locations of the JaCoCo *.exec files to read.- Parameters:
- execFiles- the exec files
- Returns:
- this operation instance
- See Also:
 
- 
executePerforms the operation execution that can be wrapped by the#executeOncecall.- Specified by:
- executein class- AbstractOperation<JacocoReportOperation>
- Throws:
- Exception
 
- 
fromProjectConfigure the operation from aBaseProject.- Parameters:
- project- the project
- Returns:
- this operation instance
 
- 
htmlSets the location of the HTML report.- Parameters:
- html- the HTML
- Returns:
- this operation instance
 
- 
htmlSets the location of the HTML report.- Parameters:
- html- the HTML
- Returns:
- this operation instance
 
- 
htmlSets the location of the HTML report.- Parameters:
- html- the HTML
- Returns:
- this operation instance
 
- 
htmlReturns the HTML report location.- Returns:
- the HTML report location
 
- 
isQuietpublic boolean isQuiet()Return the status of the quiet flag.- Returns:
- trueif enabled,- falseotherwise
 
- 
nameSets the name used for the report.- Parameters:
- name- the name
- Returns:
- this operation instance
 
- 
nameReturns the name used for the report.- Returns:
- the report name.
 
- 
quietSuppresses all output.- Parameters:
- quiet-- trueor- false
- Returns:
- this operation instance
 
- 
sourceFilesSets the locations of the source files. (e.g.,src/main/java)- Parameters:
- sourceFiles- the source files
- Returns:
- this operation instance
- See Also:
 
- 
sourceFilesSets the locations of the source files. (e.g.,src/main/java)- Parameters:
- sourceFiles- the source files
- Returns:
- this operation instance
- See Also:
 
- 
sourceFilesSets the locations of the source files. (e.g.,src/main/java)- Parameters:
- sourceFiles- the source files
- Returns:
- this operation instance
- See Also:
 
- 
sourceFilesSets the locations of the source files. (e.g.,src/main/java)- Parameters:
- sourceFiles- the source files
- Returns:
- this operation instance
- See Also:
 
- 
sourceFilesReturns the locations of the source files.- Returns:
- the source files
 
- 
sourceFilesPathsSets the locations of the source files. (e.g.,src/main/java)- Parameters:
- sourceFiles- the source files
- Returns:
- this operation instance
- See Also:
 
- 
sourceFilesStringsSets the locations of the source files. (e.g.,src/main/java)- Parameters:
- sourceFiles- the source files
- Returns:
- this operation instance
- See Also:
 
- 
tabWidthSets the tab stop width for the source pages. Default is4.- Parameters:
- tabWidth- the tab width
- Returns:
- this operation instance
 
- 
tabWidthpublic int tabWidth()Returns the tab stop width for the source pages.- Returns:
- the tab stop width
 
- 
testToolOptionsReturns the test tool options.- Returns:
- the test tool options
 
- 
testToolOptionsSets the test tool options.- Parameters:
- options- The options to set
- Returns:
- this operation instance
- See Also:
 
- 
testToolOptionsSets the test tool options.- Parameters:
- options- The options to set
- Returns:
- this operation instance
- See Also:
 
- 
xmlSets the location of the XML report.- Parameters:
- xml- the report location
- Returns:
- this operation instance
 
- 
xmlSets the location of the XML report.- Parameters:
- xml- the report location
- Returns:
- this operation instance
 
- 
xmlSets the location of the XML report.- Parameters:
- xml- the report location
- Returns:
- this operation instance
 
- 
xmlReturns the XML report location.- Returns:
- the XML report location
 
 
-