Class CpdReportsImpl
java.lang.Object
de.aaschmid.gradle.plugins.cpd.internal.Reports<org.gradle.api.reporting.SingleFileReport>
de.aaschmid.gradle.plugins.cpd.internal.CpdReportsImpl
- All Implemented Interfaces:
CpdReports,Iterable<org.gradle.api.reporting.SingleFileReport>,Collection<org.gradle.api.reporting.SingleFileReport>,Set<org.gradle.api.reporting.SingleFileReport>,org.gradle.api.DomainObjectCollection<org.gradle.api.reporting.SingleFileReport>,org.gradle.api.DomainObjectSet<org.gradle.api.reporting.SingleFileReport>,org.gradle.api.NamedDomainObjectCollection<org.gradle.api.reporting.SingleFileReport>,org.gradle.api.NamedDomainObjectSet<org.gradle.api.reporting.SingleFileReport>,org.gradle.api.reporting.ReportContainer<org.gradle.api.reporting.SingleFileReport>,org.gradle.util.Configurable<org.gradle.api.reporting.ReportContainer<org.gradle.api.reporting.SingleFileReport>>
public class CpdReportsImpl
extends Reports<org.gradle.api.reporting.SingleFileReport>
implements CpdReports
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.reporting.ReportContainer
org.gradle.api.reporting.ReportContainer.ImmutableViolationException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcsv(org.gradle.api.Action<CpdCsvFileReport> action) Configures the csv report.getCsv()getText()org.gradle.api.reporting.SingleFileReportgetVs()getXml()voidtext(org.gradle.api.Action<CpdTextFileReport> action) Configures the text report.voidvs(org.gradle.api.Action<org.gradle.api.reporting.SingleFileReport> action) Configures the vs report.voidxml(org.gradle.api.Action<CpdXmlFileReport> action) Configures the xml report.Methods inherited from class de.aaschmid.gradle.plugins.cpd.internal.Reports
add, addAll, addAllLater, addLater, addReport, addRule, addRule, addRule, all, all, clear, configure, configureEach, contains, containsAll, findAll, findByName, getAsMap, getAt, getByName, getByName, getByName, getCollectionSchema, getEnabled, getEnabledReports, getNamer, getNames, getRules, isEmpty, iterator, matching, matching, named, named, named, named, named, remove, removeAll, retainAll, size, toArray, toArray, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface org.gradle.util.Configurable
configureMethods inherited from interface org.gradle.api.DomainObjectCollection
addAllLater, addLater, all, all, configureEach, disallowChanges, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withTypeMethods inherited from interface org.gradle.api.NamedDomainObjectCollection
add, addAll, addRule, addRule, addRule, findByName, getAt, getByName, getByName, getByName, getCollectionSchema, named, named, named, namedMethods inherited from interface org.gradle.api.NamedDomainObjectSet
findAll, matching, matching, named, withTypeMethods inherited from interface org.gradle.api.reporting.ReportContainer
getAsMap, getEnabled, getEnabledReports, getNamer, getNames, getRules, isEmpty
-
Constructor Details
-
CpdReportsImpl
-
-
Method Details
-
getCsv
- Specified by:
getCsvin interfaceCpdReports- Returns:
- The CPD (single file) 'CSV' report
-
getText
- Specified by:
getTextin interfaceCpdReports- Returns:
- The CPD (single file) 'text' report
-
getVs
public org.gradle.api.reporting.SingleFileReport getVs()- Specified by:
getVsin interfaceCpdReports- Returns:
- The CPD (single file) 'vs' report
-
getXml
- Specified by:
getXmlin interfaceCpdReports- Returns:
- The CPD (single file) 'XML' report
-
csv
Description copied from interface:CpdReportsConfigures the csv report.- Specified by:
csvin interfaceCpdReports- Parameters:
action- The Configuration closure/action.
-
text
Description copied from interface:CpdReportsConfigures the text report.- Specified by:
textin interfaceCpdReports- Parameters:
action- The Configuration closure/action.
-
vs
public void vs(org.gradle.api.Action<org.gradle.api.reporting.SingleFileReport> action) Description copied from interface:CpdReportsConfigures the vs report.- Specified by:
vsin interfaceCpdReports- Parameters:
action- The Configuration closure/action.
-
xml
Description copied from interface:CpdReportsConfigures the xml report.- Specified by:
xmlin interfaceCpdReports- Parameters:
action- The Configuration closure/action.
-