public class CpdExtension
| Constructor and Description |
|---|
CpdExtension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnabled()
Ability to enable or disable only cpd for every subproject that is not ignored.
|
java.lang.Boolean |
getIgnoreFailures()
If set to false or true it overrides {@link CodeQualityToolsPluginExtension#failEarly}.
|
java.lang.String |
getLanguage() |
int |
getMinimumTokenCount()
A positive integer indicating the minimum token count to trigger a CPD match.
|
java.lang.String |
getSource() |
void |
setEnabled(boolean p)
Ability to enable or disable only cpd for every subproject that is not ignored.
|
void |
setIgnoreFailures(java.lang.Boolean p)
If set to false or true it overrides {@link CodeQualityToolsPluginExtension#failEarly}.
|
void |
setLanguage(java.lang.String p) |
void |
setMinimumTokenCount(int p)
A positive integer indicating the minimum token count to trigger a CPD match.
|
void |
setSource(java.lang.String p) |
public boolean getEnabled()
Ability to enable or disable only cpd for every subproject that is not ignored.
public void setEnabled(boolean p)
Ability to enable or disable only cpd for every subproject that is not ignored.
public java.lang.String getSource()
public void setSource(java.lang.String p)
public java.lang.String getLanguage()
public void setLanguage(java.lang.String p)
public java.lang.Boolean getIgnoreFailures()
If set to false or true it overrides {@link CodeQualityToolsPluginExtension#failEarly}.
public void setIgnoreFailures(java.lang.Boolean p)
If set to false or true it overrides {@link CodeQualityToolsPluginExtension#failEarly}.
public int getMinimumTokenCount()
A positive integer indicating the minimum token count to trigger a CPD match.
public void setMinimumTokenCount(int p)
A positive integer indicating the minimum token count to trigger a CPD match.