A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

apply(Project) - Method in CoberturaPlugin

B

buildAll(String, Project) - Method in CustomToolingModelBuilder

C

canBuild(String) - Method in CustomToolingModelBuilder
checkCoverage(CoberturaExtension) - Method in CoberturaRunner
checkCoverage() - Method in PerformCoverageCheckTask
checkExit(int) - Method in CoberturaSecurityManager
Throws a SecurityException because we don't want Cobertura trying to exit the VM.
checkPermission(Permission, Object) - Method in CoberturaSecurityManager
Throws a SecurityException if the requested access, specified by the given permission, is not permitted based on the security policy currently in effect.
CoberturaExtension - Class in net.saliman.gradle.plugin.cobertura
Extension class for configuring the Cobertura plugin.
CoberturaExtension(Project) - Constructor in CoberturaExtension
Constructor for the extension.
CoberturaPlugin - Class in net.saliman.gradle.plugin.cobertura
Provides Cobertura coverage for Test tasks.
CoberturaReports - Interface in net.saliman.gradle.plugin.cobertura
The reporting configuration for the GenerateReportTask task.
CoberturaReportsImpl - Class in net.saliman.gradle.plugin.cobertura
CoberturaReportsImpl(Task) - Constructor in CoberturaReportsImpl
CoberturaRunner - Class in net.saliman.gradle.plugin.cobertura
Wrapper for Cobertura's main classes.
CoberturaSecurityManager - Class in net.saliman.gradle.plugin.cobertura
Security manager to use when running Cobertura classes directly.
CoberturaSecurityManager(SecurityManager) - Constructor in CoberturaSecurityManager
Make a new SecurityManager that delegates to another SecurityManager for all things except System.exit calls.
compareVersions(def, def) - Method in CoberturaRunner
Rough hack that compares 2 version numbers.
CopyDatafileTask - Class in net.saliman.gradle.plugin.cobertura
This task copies the input datafile, generated by the instrument task, to the output datafile, used to generate the coverage report.
copyFile() - Method in CopyDatafileTask
Copy the input datafile to the output datafile.
coverageClassesTasks(Closure) - Method in CoberturaExtension
Set the closure that will be used to determine what tasks need to be complete before we can instrument classes for coverage.
coverageTestTasks(Closure) - Method in CoberturaExtension
Set the closure that will be used to determine what tests should be run when the cobertura task is invoked.
CustomModel - Interface in net.saliman.gradle.plugin.cobertura
Created with IntelliJ IDEA.
CustomToolingModelBuilder - Class in net.saliman.gradle.plugin.cobertura
Created with IntelliJ IDEA.

D

DefaultModel - Class in net.saliman.gradle.plugin.cobertura
Created with IntelliJ IDEA.
DefaultModel(Project) - Constructor in DefaultModel

E

F

G

generateCoverageReport(CoberturaExtension, String, List<String>) - Method in CoberturaRunner
generateReports() - Method in GenerateReportTask
Call Cobertura to generate the coverage reports.
GenerateReportTask - Class in net.saliman.gradle.plugin.cobertura
Gradle task that does the actual work of generating the Cobertura coverage reports.
GenerateReportTask(Instantiator) - Constructor in GenerateReportTask
getAuxiliaryClasspath() - Method in InstrumentTask
If the auxiliary classpath changes, we'll need to re-instrument.
getClassesDirs() - Method in InstrumentTask
If the compiled class files from our main source changes, we'll need to re-instrument.
getCoberturaVersion() - Method in InstrumentTask
If the user changes the Cobertura version, we need to re-instrument.
getCoverageCheckBranchRate() - Method in CoberturaExtension
@return The minimum acceptable branch coverage rate needed by each class.
getCoverageCheckLineRate() - Method in CoberturaExtension
@return The minimum acceptable line coverage rate needed by each class.
getCoverageCheckPackageBranchRate() - Method in CoberturaExtension
@return The minimum acceptable package branch coverage rate needed by each class.
getCoverageCheckPackageLineRate() - Method in CoberturaExtension
@return The minimum acceptable package line coverage rate needed by each class.
getCoverageCheckRegexes() - Method in CoberturaExtension
getCoverageCheckTotalBranchRate() - Method in CoberturaExtension
@return The minimum acceptable total branch coverage rate needed by each class.
getCoverageCheckTotalLineRate() - Method in CoberturaExtension
@return The minimum acceptable total line coverage rate needed by each class.
getCoverageClassesTasks() - Method in CoberturaExtension
@return the tasks that produce the classes that need to be instrumented for coverage reports, as returned by the coverageClassTasks closure
getCoverageEncoding() - Method in GenerateReportTask
If the user changes the file encoding, we need to re-generate the report.
getCoverageIgnoreMethodAnnotations() - Method in CoberturaExtension
@return the names of annotations used to flag methods to be ignored.
getCoverageIgnoreTrivial() - Method in CoberturaExtension
@return whether or not we should ignore trivial methods.
getCoverageTestTasks() - Method in CoberturaExtension
@return the test tasks that should run, as returned by the coverageTestTask closure
getExcludes() - Method in InstrumentTask
If the excluded classes change, we need to re-instrument
getExtractedJars(Project) - Method in CoberturaExtension
Used to fetch the extracted jars from android AARs during compilation.
getHtml() - Method in CoberturaReports
The Cobertura html report
getHtml() - Method in CoberturaReportsImpl
getIgnoreMethodAnnotations() - Method in InstrumentTask
If the user changes the annotation used to ignore methods, we'll need to re-instrument.
getIgnores() - Method in InstrumentTask
If the user changes the things to ignore, we need to re-instrument.
getIgnoreTrivial() - Method in InstrumentTask
If the user changes whether or not to ignore trivial, we'll need to re-instrument
getIncludes() - Method in InstrumentTask
If the included classes change, we need to re-instrument
getInputDatafile() - Method in InstrumentTask
The output file from this task is named inputDatafile because it is the input input for the task that copies the ser file, and is input for the tests.
getName() - Method in CustomModel
getName() - Method in DefaultModel
getOutputClassesDir() - Method in InstrumentTask
If the instrumented class files change (or go missing), we need to re-instrument
getReports() - Method in GenerateReportTask
getTasks() - Method in CustomModel
getTasks() - Method in DefaultModel

H

hasLength(String) - Method in CoberturaRunner

I

instrument(CoberturaExtension, String, String, List<String>) - Method in CoberturaRunner
instrument() - Method in InstrumentTask
InstrumentTask - Class in net.saliman.gradle.plugin.cobertura
Gradle task that instruments java sources for Cobertura coverage reports.
isAndroidProject(Project) - Method in CoberturaPlugin
isSecurityException(def) - Method in CoberturaRunner
helper method to check to see if a given exception is a SecurityException, or the cause of an InvocationTargetException.

J

K

L

M

mergeCoverageReports(CoberturaExtension) - Method in CoberturaRunner

N

O

P

PerformCoverageCheckTask - Class in net.saliman.gradle.plugin.cobertura
Gradle task that does the actual work of generating the Cobertura coverage reports.
PerformCoverageCheckTask() - Constructor in PerformCoverageCheckTask

Q

R

reports(Closure) - Method in GenerateReportTask

S

setCoverageCheckBranchRate(Integer) - Method in CoberturaExtension
Set the minimum acceptable branch coverage rate needed by each class.
setCoverageCheckLineRate(Integer) - Method in CoberturaExtension
Set the minimum acceptable line coverage rate needed by each class.
setCoverageCheckPackageBranchRate(Integer) - Method in CoberturaExtension
Set the minimum acceptable package branch coverage rate needed by each class.
setCoverageCheckPackageLineRate(Integer) - Method in CoberturaExtension
Set the minimum acceptable package line coverage rate needed by each class.
setCoverageCheckRegexes(List<Map>) - Method in CoberturaExtension
For finer grained control, you can optionally specify minimum branch and line coverage rates for individual classes using any number of regular expressions.
setCoverageCheckTotalBranchRate(Integer) - Method in CoberturaExtension
Set the minimum acceptable total branch coverage rate needed by each class.
setCoverageCheckTotalLineRate(Integer) - Method in CoberturaExtension
Set the minimum acceptable total line coverage rate needed by each class.
setCoverageIgnoreMethodAnnotations(List<String>) - Method in CoberturaExtension
List of fully qualified annotation names that, if present on a method, will cause it to be ignored by Cobertura for coverage purposes.
setCoverageIgnoreTrivial(boolean) - Method in CoberturaExtension
Whether or not to ignore trivial methods like simple getters and setters.
splitCamelCase(String) - Method in CoberturaExtension

T

U

V

W

withClasspath(Set<File>) - Method in CoberturaRunner

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _