public abstract class CpdTextFileReportImpl extends org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport implements CpdTextFileReport
DEFAULT_LINE_SEPARATOR, DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE| Constructor and Description |
|---|
CpdTextFileReportImpl(java.lang.String name,
org.gradle.api.Task task) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLineSeparator() |
boolean |
getTrimLeadingCommonSourceWhitespaces() |
void |
setLineSeparator(java.lang.String lineSeparator) |
void |
setTrimLeadingCommonSourceWhitespaces(boolean trimLeadingCommonSourceWhitespaces) |
getProjectLayoutconfigure, getDestination, getDisplayName, getName, getOutputLocation, getOutputType, isEnabled, setDestination, setDestination, setEnabled, setEnabled, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOutputLocation, getOutputTypesetDestination, setDestination, setEnabled, setEnabled@Inject
public CpdTextFileReportImpl(java.lang.String name,
org.gradle.api.Task task)
public boolean getTrimLeadingCommonSourceWhitespaces()
getTrimLeadingCommonSourceWhitespaces in interface CpdTextFileReporttrue) or not (= false);
defaults to CpdTextFileReport.DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE.public void setTrimLeadingCommonSourceWhitespaces(boolean trimLeadingCommonSourceWhitespaces)
setTrimLeadingCommonSourceWhitespaces in interface CpdTextFileReporttrimLeadingCommonSourceWhitespaces - set to true if the leading common whitespaces of a single source code snippet
should be trimmed, otherwise false; defaults to CpdTextFileReport.DEFAULT_TRIM_LEADING_COMMON_SOURCE_WHITESPACE.public java.lang.String getLineSeparator()
getLineSeparator in interface CpdTextFileReportString used to generate text report; defaults to CpdTextFileReport.DEFAULT_LINE_SEPARATOR.public void setLineSeparator(java.lang.String lineSeparator)
setLineSeparator in interface CpdTextFileReportlineSeparator - to be used when generating the text report; defaults to CpdTextFileReport.DEFAULT_LINE_SEPARATOR.