Package de.aaschmid.gradle.plugins.cpd
Interface CpdCsvFileReport
- All Superinterfaces:
org.gradle.util.Configurable<org.gradle.api.reporting.Report>,org.gradle.api.reporting.ConfigurableReport,org.gradle.api.reporting.Report,org.gradle.api.reporting.SingleFileReport
- All Known Implementing Classes:
CpdCsvFileReportImpl
public interface CpdCsvFileReport
extends org.gradle.api.reporting.SingleFileReport
The single file CSV report for code/paste (= duplication) detection.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.reporting.Report
org.gradle.api.reporting.Report.OutputType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDefault if line count column should be part of CSV.static final charDefault CSV separator.Fields inherited from interface org.gradle.api.reporting.Report
NAMER -
Method Summary
Modifier and TypeMethodDescriptionbooleanNote: Property is originally namedlineCountPerFileand meaning is inverted, see ....voidsetIncludeLineCount(boolean includeLineCount) voidsetSeparator(Character separator) Methods 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
-
Field Details
-
DEFAULT_SEPARATOR
static final char DEFAULT_SEPARATORDefault CSV separator.- See Also:
-
DEFAULT_INCLUDE_LINE_COUNT
static final boolean DEFAULT_INCLUDE_LINE_COUNTDefault if line count column should be part of CSV.- See Also:
-
-
Method Details
-
getSeparator
- Returns:
- the separator
Characterused to generate CSV report; defaults toDEFAULT_SEPARATOR.
-
setSeparator
- Parameters:
separator- to be used when generating the CSV report; defaults toDEFAULT_SEPARATOR.- Throws:
org.gradle.api.InvalidUserDataException- iif suppliedseparatorisnull(charcannot be wrapped by Gradle internally, such that unboxablenulls must be checked in setter)
-
isIncludeLineCount
@Input boolean isIncludeLineCount()Note: Property is originally namedlineCountPerFileand meaning is inverted, see ....- Returns:
- if line count column should be included; defaults to
DEFAULT_INCLUDE_LINE_COUNT.
-
setIncludeLineCount
void setIncludeLineCount(boolean includeLineCount) - Parameters:
includeLineCount- to be used when generating the CSV report; defaults toDEFAULT_INCLUDE_LINE_COUNT.
-