public class LintExtension
| Constructor and Description |
|---|
LintExtension() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getAbortOnError()
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
|
java.lang.Boolean |
getAbsolutePaths()
Returns whether lint should use absolute paths or not.
|
java.lang.String |
getBaselineFileName()
The baseline file name (e.g. baseline.xml) which will be saved under each project.
|
java.lang.Boolean |
getCheckAllWarnings()
Returns whether lint should check all warnings, including those off by default.
|
java.lang.Boolean |
getCheckDependencies()
Returns whether lint should check dependencies or not.
|
java.lang.Boolean |
getCheckReleaseBuilds()
Returns whether lint should check release builds or not.
Since this plugin hooks lint into the check task we'll assume that you're always running
the full lint suite and hence checking release builds is not necessary.
|
java.lang.Boolean |
getCheckTestSources()
Returns whether lint should check test sources or not.
|
boolean |
getEnabled()
Ability to enable or disable only lint for every subproject that is not ignored.
|
java.io.File |
getLintConfig()
The lint config file (e.g. lint.xml).
|
java.lang.String |
getTextOutput()
Specify the textOutput for lint. It will only be used when
LintExtension.getTextReport is set to true. |
java.lang.Boolean |
getTextReport()
Enable or disable textReport.
|
java.lang.Boolean |
getWarningsAsErrors()
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
|
void |
setAbortOnError(java.lang.Boolean p)
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
|
void |
setAbsolutePaths(java.lang.Boolean p)
Returns whether lint should use absolute paths or not.
|
void |
setBaselineFileName(java.lang.String p)
The baseline file name (e.g. baseline.xml) which will be saved under each project.
|
void |
setCheckAllWarnings(java.lang.Boolean p)
Returns whether lint should check all warnings, including those off by default.
|
void |
setCheckDependencies(java.lang.Boolean p)
Returns whether lint should check dependencies or not.
|
void |
setCheckReleaseBuilds(java.lang.Boolean p)
Returns whether lint should check release builds or not.
Since this plugin hooks lint into the check task we'll assume that you're always running
the full lint suite and hence checking release builds is not necessary.
|
void |
setCheckTestSources(java.lang.Boolean p)
Returns whether lint should check test sources or not.
|
void |
setEnabled(boolean p)
Ability to enable or disable only lint for every subproject that is not ignored.
|
void |
setLintConfig(java.io.File p)
The lint config file (e.g. lint.xml).
|
void |
setTextOutput(java.lang.String p)
Specify the textOutput for lint. It will only be used when
LintExtension.getTextReport is set to true. |
void |
setTextReport(java.lang.Boolean p)
Enable or disable textReport.
|
void |
setWarningsAsErrors(java.lang.Boolean p)
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
|
public boolean getEnabled()
Ability to enable or disable only lint for every subproject that is not ignored.
public void setEnabled(boolean p)
Ability to enable or disable only lint for every subproject that is not ignored.
public java.lang.Boolean getTextReport()
Enable or disable textReport.
public void setTextReport(java.lang.Boolean p)
Enable or disable textReport.
public java.lang.String getTextOutput()
Specify the textOutput for lint. It will only be used when LintExtension.getTextReport is set to true.
LintExtension.getTextReportpublic void setTextOutput(java.lang.String p)
Specify the textOutput for lint. It will only be used when LintExtension.getTextReport is set to true.
LintExtension.getTextReportpublic java.lang.Boolean getAbortOnError()
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
public void setAbortOnError(java.lang.Boolean p)
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
public java.lang.Boolean getWarningsAsErrors()
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
public void setWarningsAsErrors(java.lang.Boolean p)
If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.
public java.lang.Boolean getCheckAllWarnings()
Returns whether lint should check all warnings, including those off by default.
public void setCheckAllWarnings(java.lang.Boolean p)
Returns whether lint should check all warnings, including those off by default.
public java.lang.String getBaselineFileName()
The baseline file name (e.g. baseline.xml) which will be saved under each project.
public void setBaselineFileName(java.lang.String p)
The baseline file name (e.g. baseline.xml) which will be saved under each project.
public java.lang.Boolean getAbsolutePaths()
Returns whether lint should use absolute paths or not.
public void setAbsolutePaths(java.lang.Boolean p)
Returns whether lint should use absolute paths or not.
public java.io.File getLintConfig()
The lint config file (e.g. lint.xml).
public void setLintConfig(java.io.File p)
The lint config file (e.g. lint.xml).
public java.lang.Boolean getCheckReleaseBuilds()
Returns whether lint should check release builds or not. Since this plugin hooks lint into the check task we'll assume that you're always running the full lint suite and hence checking release builds is not necessary.
public void setCheckReleaseBuilds(java.lang.Boolean p)
Returns whether lint should check release builds or not. Since this plugin hooks lint into the check task we'll assume that you're always running the full lint suite and hence checking release builds is not necessary.
public java.lang.Boolean getCheckTestSources()
Returns whether lint should check test sources or not.
public void setCheckTestSources(java.lang.Boolean p)
Returns whether lint should check test sources or not.
public java.lang.Boolean getCheckDependencies()
Returns whether lint should check dependencies or not.
public void setCheckDependencies(java.lang.Boolean p)
Returns whether lint should check dependencies or not.