PropertySource, RendererAbstractAccumulatingRenderer, AbstractIncrementingRenderer, EmptyRendererpublic abstract class AbstractRenderer extends AbstractPropertySource implements Renderer
Renderer implementations.| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
description |
|
protected java.lang.String |
name |
|
protected boolean |
showSuppressedViolations |
|
protected java.io.Writer |
writer |
propertyDescriptors, propertyValuesByDescriptor| Constructor | Description |
|---|---|
AbstractRenderer(java.lang.String name,
java.lang.String description) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
flush() |
|
java.lang.String |
getDescription() |
Get the description of the Renderer.
|
java.lang.String |
getName() |
Gets the name of the property source.
|
java.io.Writer |
getWriter() |
Get the Writer for the Renderer.
|
boolean |
isShowSuppressedViolations() |
Get the indicator for whether to show suppressed violations.
|
void |
setDescription(java.lang.String description) |
Set the description of the Renderer.
|
void |
setName(java.lang.String name) |
Set the name of the Renderer.
|
void |
setShowSuppressedViolations(boolean showSuppressedViolations) |
Set the indicator for whether to show suppressed violations.
|
void |
setWriter(java.io.Writer writer) |
Set the Writer for the Renderer.
|
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuesdefaultFileExtension, end, renderFileReport, start, startFileAnalysisprotected java.lang.String name
protected java.lang.String description
protected boolean showSuppressedViolations
protected java.io.Writer writer
public AbstractRenderer(java.lang.String name,
java.lang.String description)
public java.lang.String getName()
AbstractPropertySourcegetName in interface RenderergetName in class AbstractPropertySourcepublic void setName(java.lang.String name)
Rendererpublic java.lang.String getDescription()
RenderergetDescription in interface Rendererpublic void setDescription(java.lang.String description)
RenderersetDescription in interface Rendererdescription - The description of the Renderer.public boolean isShowSuppressedViolations()
RendererisShowSuppressedViolations in interface Renderertrue if suppressed violations should show,
false otherwise.public void setShowSuppressedViolations(boolean showSuppressedViolations)
RenderersetShowSuppressedViolations in interface RenderershowSuppressedViolations - Whether to show suppressed violations.public void setWriter(java.io.Writer writer)
Rendererpublic java.io.Writer getWriter()
RendererCopyright © 2002–2018 PMD. All rights reserved.