CPDConfiguration
, PMDConfiguration
public abstract class AbstractConfiguration
extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractConfiguration() |
Create a new abstract configuration.
|
Modifier and Type | Method | Description |
---|---|---|
java.nio.charset.Charset |
getSourceEncoding() |
Get the character encoding of source files.
|
boolean |
isDebug() |
Return the debug indicator.
|
void |
setDebug(boolean debug) |
Set the debug indicator.
|
void |
setSourceEncoding(java.lang.String sourceEncoding) |
Set the character encoding of source files.
|
protected AbstractConfiguration()
public java.nio.charset.Charset getSourceEncoding()
public void setSourceEncoding(java.lang.String sourceEncoding)
sourceEncoding
- The character encoding.public boolean isDebug()
true
then PMD
will log debug information.true
if debug logging is enabled, false
otherwise.public void setDebug(boolean debug)
debug
- The debug indicator to set.isDebug()
Copyright © 2002–2018 PMD. All rights reserved.