public class EmptyRenderer extends AbstractRenderer
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
description, name, propertyDefinitions, showSuppressedViolations, writer
propertyDescriptors, 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, setWriter
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
public static final String NAME
public String defaultFileExtension()
Renderer
public void start() throws IOException
Renderer
IOException
public void startFileAnalysis(DataSource dataSource)
Renderer
Renderer.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
Renderer
Renderer.start()
and
Renderer.startFileAnalysis(DataSource)
, but before
Renderer.end()
.report
- A file Report.IOException
Report
public void end() throws IOException
Renderer
Renderer.renderFileReport(Report)
.IOException
Copyright © 2002–2017 PMD. All rights reserved.