public interface CpdTextFileReport
extends org.gradle.api.reporting.SingleFileReport
CpdPlugin| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_LINE_SEPARATOR
Default line separator
|
static boolean |
DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE
Default setting if the leading common whitespace of a source code snipped should be trimmed or not.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLineSeparator() |
boolean |
getTrimLeadingCommonSourceWhitespaces() |
void |
setLineSeparator(java.lang.String lineSeparator) |
void |
setTrimLeadingCommonSourceWhitespaces(boolean trimLeadingCommonSourceWhitespaces) |
getOutputLocation, getOutputTypesetDestination, setDestination, setEnabled, setEnabledstatic final java.lang.String DEFAULT_LINE_SEPARATOR
static final boolean DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE
@Input boolean getTrimLeadingCommonSourceWhitespaces()
true) or not (= false);
defaults to DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE.void setTrimLeadingCommonSourceWhitespaces(boolean trimLeadingCommonSourceWhitespaces)
trimLeadingCommonSourceWhitespaces - set to true if the leading common whitespaces of a single source code snippet
should be trimmed, otherwise false; defaults to DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE.@Input java.lang.String getLineSeparator()
String used to generate text report; defaults to DEFAULT_LINE_SEPARATOR.void setLineSeparator(java.lang.String lineSeparator)
lineSeparator - to be used when generating the text report; defaults to DEFAULT_LINE_SEPARATOR.