public abstract class AbstractRenderer extends AbstractPropertySource implements Renderer
Renderer
implementations.Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
name |
protected Map<String,String> |
propertyDefinitions
Deprecated.
|
protected boolean |
showSuppressedViolations |
protected Writer |
writer |
propertyDescriptors, propertyValuesByDescriptor
Constructor and Description |
---|
AbstractRenderer(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
protected void |
defineProperty(String name,
String description)
Deprecated.
|
void |
flush() |
String |
getDescription()
Get the description of the Renderer.
|
String |
getName()
Gets the name of the property source.
|
Map<String,String> |
getPropertyDefinitions()
Deprecated.
|
Writer |
getWriter()
Get the Writer for the Renderer.
|
boolean |
isShowSuppressedViolations()
Get the indicator for whether to show suppressed violations.
|
void |
setDescription(String description)
Set the description of the Renderer.
|
void |
setName(String name)
Set the name of the Renderer.
|
void |
setShowSuppressedViolations(boolean showSuppressedViolations)
Set the indicator for whether to show suppressed violations.
|
void |
setWriter(Writer writer)
Set the Writer for the Renderer.
|
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultFileExtension, end, renderFileReport, start, startFileAnalysis
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
protected String name
protected String description
@Deprecated protected Map<String,String> propertyDefinitions
protected boolean showSuppressedViolations
protected Writer writer
public String getName()
getName
in interface Renderer
getName
in class AbstractPropertySource
public void setName(String name)
public String getDescription()
getDescription
in interface Renderer
public void setDescription(String description)
setDescription
in interface Renderer
description
- The description of the Renderer.@Deprecated public Map<String,String> getPropertyDefinitions()
getPropertyDefinitions
in interface Renderer
@Deprecated protected void defineProperty(String name, String description)
name
- The property name.description
- The description of the property.public boolean isShowSuppressedViolations()
isShowSuppressedViolations
in interface Renderer
true
if suppressed violations should show, false
otherwise.public void setShowSuppressedViolations(boolean showSuppressedViolations)
setShowSuppressedViolations
in interface Renderer
showSuppressedViolations
- Whether to show suppressed violations.public void setWriter(Writer writer)
public Writer getWriter()
Copyright © 2002-2017 PMD. All Rights Reserved.