public interface CpdCsvFileReport
extends org.gradle.api.reporting.SingleFileReport
CpdPlugin| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_INCLUDE_LINE_COUNT
Default if line count column should be part of CSV.
|
static char |
DEFAULT_SEPARATOR
Default CSV separator.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Character |
getSeparator() |
boolean |
isIncludeLineCount()
Note: Property is originally named
lineCountPerFile and meaning is inverted, see https://github.com/pmd/pmd/blob/master/pmd-core/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java#L63. |
void |
setIncludeLineCount(boolean includeLineCount) |
void |
setSeparator(java.lang.Character separator) |
getOutputLocation, getOutputTypesetDestination, setDestination, setEnabled, setEnabledstatic final char DEFAULT_SEPARATOR
static final boolean DEFAULT_INCLUDE_LINE_COUNT
@Input java.lang.Character getSeparator()
Character used to generate CSV report; defaults to DEFAULT_SEPARATOR.void setSeparator(java.lang.Character separator)
separator - to be used when generating the CSV report; defaults to DEFAULT_SEPARATOR.org.gradle.api.InvalidUserDataException - iif supplied separator is null (char cannot be wrapped by
Gradle interally, such that unboxable nulls must be checked in setter)@Input boolean isIncludeLineCount()
lineCountPerFile and meaning is inverted, see https://github.com/pmd/pmd/blob/master/pmd-core/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java#L63.DEFAULT_INCLUDE_LINE_COUNT.void setIncludeLineCount(boolean includeLineCount)
includeLineCount - to be used when generating the CSV report; defaults to DEFAULT_INCLUDE_LINE_COUNT.