public class EmptyRenderer extends AbstractRenderer
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
description, name, propertyDefinitions, showSuppressedViolations, writerpropertyDescriptors, propertyValuesByDescriptor| Constructor and Description |
|---|
EmptyRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultFileExtension()
Return the default filename extension to use.
|
void |
end()
This method is at the very end of the Rendering process, after
Renderer.renderFileReport(Report). |
void |
renderFileReport(Report report)
Render the given file Report.
|
void |
start()
This method is called before any source files are processed.
|
void |
startFileAnalysis(DataSource dataSource)
This method is called each time a source file is processed.
|
defineProperty, flush, getDescription, getName, getPropertyDefinitions, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWritercopyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValuespublic static final String NAME
public String defaultFileExtension()
Rendererpublic void start()
throws IOException
RendererIOExceptionpublic void startFileAnalysis(DataSource dataSource)
RendererRenderer.start(), but before
Renderer.renderFileReport(Report) and Renderer.end().
This method may be invoked by different threads which are processing
files independently. Therefore, any non-trivial implementation of this
method needs to be thread-safe.dataSource - The source file.public void renderFileReport(Report report) throws IOException
RendererRenderer.start() and
Renderer.startFileAnalysis(DataSource), but before
Renderer.end().report - A file Report.IOExceptionReportpublic void end()
throws IOException
RendererRenderer.renderFileReport(Report).IOExceptionCopyright © 2002–2017 PMD. All rights reserved.