net.sourceforge.pmd.renderers
Class CodeClimateRenderer

java.lang.Object
  extended by net.sourceforge.pmd.AbstractPropertySource
      extended by net.sourceforge.pmd.renderers.AbstractRenderer
          extended by net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
              extended by net.sourceforge.pmd.renderers.CodeClimateRenderer
All Implemented Interfaces:
PropertySource, Renderer

public class CodeClimateRenderer
extends AbstractIncrementingRenderer

Renderer for Code Climate JSON format


Field Summary
protected static String EOL
           
static String NAME
           
 
Fields inherited from class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
errors, suppressed
 
Fields inherited from class net.sourceforge.pmd.renderers.AbstractRenderer
description, name, propertyDefinitions, showSuppressedViolations, writer
 
Fields inherited from class net.sourceforge.pmd.AbstractPropertySource
propertyDescriptors, propertyValuesByDescriptor
 
Constructor Summary
CodeClimateRenderer()
           
 
Method Summary
 String defaultFileExtension()
          Return the default filename extension to use.
 void renderFileViolations(Iterator<RuleViolation> violations)
          Render a series of RuleViolations.
 
Methods inherited from class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
end, renderFileReport, start, startFileAnalysis
 
Methods inherited from class net.sourceforge.pmd.renderers.AbstractRenderer
defineProperty, flush, getDescription, getName, getPropertyDefinitions, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWriter
 
Methods inherited from class net.sourceforge.pmd.AbstractPropertySource
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.pmd.PropertySource
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

EOL

protected static final String EOL
Constructor Detail

CodeClimateRenderer

public CodeClimateRenderer()
Method Detail

renderFileViolations

public void renderFileViolations(Iterator<RuleViolation> violations)
                          throws IOException
Render a series of RuleViolations.

Specified by:
renderFileViolations in class AbstractIncrementingRenderer
Parameters:
violations - The iterator of violations to render.
Throws:
IOException

defaultFileExtension

public String defaultFileExtension()
Description copied from interface: Renderer
Return the default filename extension to use.

Returns:
String


Copyright © 2002-2016 InfoEther. All Rights Reserved.