|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.AbstractConfiguration
public abstract class AbstractConfiguration
Base configuration class for both PMD and CPD.
Constructor Summary | |
---|---|
protected |
AbstractConfiguration()
Create a new abstract configuration. |
Method Summary | |
---|---|
String |
getSourceEncoding()
Get the character encoding of source files. |
boolean |
isDebug()
Return the debug indicator. |
void |
setDebug(boolean debug)
Set the debug indicator. |
void |
setSourceEncoding(String sourceEncoding)
Set the character encoding of source files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractConfiguration()
Method Detail |
---|
public String getSourceEncoding()
public void setSourceEncoding(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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |