|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.renderers.TextPadRenderer
A Renderer for running PMD via a TextPad 'tool'. TextPad is a text editor by Helios Software Solutions.
Output lines are in the form:
pathtojavafile(line#, NameOfRule): Specific rule violation message
For example:
D:\java\pmd\src\src\net\sourceforge\pmd\renderers\TextPadRenderer.java(24, AtLeastOneConstructor): Each class should declare at least one constructor
D:\java\pmd\src\src\net\sourceforge\pmd\renderers\TextPadRenderer.java(26, VariableNamingConventionsRule): Variables should start with a lowercase character
D:\java\pmd\src\src\net\sourceforge\pmd\renderers\TextPadRenderer.java(31, ShortVariable): Avoid variables with short names
Constructor Summary | |
TextPadRenderer()
|
Method Summary | |
java.lang.String |
render(Report report)
Get a string containing all errors as detected by PMD. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextPadRenderer()
Method Detail |
public java.lang.String render(Report report)
Get a string containing all errors as detected by PMD.
render
in interface Renderer
report
- The report containing the errors. May not be null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |