PropertySource, Rendererpublic class TextPadRenderer extends AbstractIncrementingRenderer
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
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
configErrors, errors, suppressedpropertyDescriptors, propertyValuesByDescriptordescription, name, showSuppressedViolations, writer| Constructor | Description |
|---|---|
TextPadRenderer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
defaultFileExtension() |
Return the default filename extension to use.
|
void |
renderFileViolations(java.util.Iterator<RuleViolation> violations) |
Render a series of
RuleViolations. |
end, renderFileReport, start, startFileAnalysiscopyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuesflush, getDescription, getName, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuespublic static final java.lang.String NAME
public java.lang.String defaultFileExtension()
Rendererpublic void renderFileViolations(java.util.Iterator<RuleViolation> violations) throws java.io.IOException
AbstractIncrementingRendererRuleViolations.renderFileViolations in class AbstractIncrementingRendererviolations - The iterator of violations to render.java.io.IOExceptionCopyright © 2002–2018 PMD. All rights reserved.