Class CpdCsvFileReportImpl
java.lang.Object
de.aaschmid.gradle.plugins.cpd.internal.CpdReportInternal
de.aaschmid.gradle.plugins.cpd.internal.CpdCsvFileReportImpl
- All Implemented Interfaces:
CpdCsvFileReport,org.gradle.api.reporting.ConfigurableReport,org.gradle.api.reporting.Report,org.gradle.api.reporting.SingleFileReport,org.gradle.util.Configurable<org.gradle.api.reporting.Report>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.reporting.Report
org.gradle.api.reporting.Report.OutputType -
Field Summary
Fields inherited from interface de.aaschmid.gradle.plugins.cpd.CpdCsvFileReport
DEFAULT_INCLUDE_LINE_COUNT, DEFAULT_SEPARATORFields inherited from interface org.gradle.api.reporting.Report
NAMER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanNote: Property is originally namedlineCountPerFileand meaning is inverted, see ....voidsetIncludeLineCount(boolean includeLineCount) voidsetSeparator(Character separator) Methods inherited from class de.aaschmid.gradle.plugins.cpd.internal.CpdReportInternal
configure, getDisplayName, getName, getOutputType, getProjectLayoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.util.Configurable
configureMethods inherited from interface org.gradle.api.reporting.Report
getDisplayName, getName, getRequiredMethods inherited from interface org.gradle.api.reporting.SingleFileReport
getOutputLocation, getOutputType
-
Constructor Details
-
CpdCsvFileReportImpl
-
-
Method Details
-
getSeparator
- Specified by:
getSeparatorin interfaceCpdCsvFileReport- Returns:
- the separator
Characterused to generate CSV report; defaults toCpdCsvFileReport.DEFAULT_SEPARATOR.
-
setSeparator
- Specified by:
setSeparatorin interfaceCpdCsvFileReport- Parameters:
separator- to be used when generating the CSV report; defaults toCpdCsvFileReport.DEFAULT_SEPARATOR.
-
isIncludeLineCount
public boolean isIncludeLineCount()Description copied from interface:CpdCsvFileReportNote: Property is originally namedlineCountPerFileand meaning is inverted, see ....- Specified by:
isIncludeLineCountin interfaceCpdCsvFileReport- Returns:
- if line count column should be included; defaults to
CpdCsvFileReport.DEFAULT_INCLUDE_LINE_COUNT.
-
setIncludeLineCount
public void setIncludeLineCount(boolean includeLineCount) - Specified by:
setIncludeLineCountin interfaceCpdCsvFileReport- Parameters:
includeLineCount- to be used when generating the CSV report; defaults toCpdCsvFileReport.DEFAULT_INCLUDE_LINE_COUNT.
-