hudson.plugins.checkstyle.util
Class ChartRenderer

java.lang.Object
  extended by hudson.plugins.checkstyle.util.ChartRenderer

public final class ChartRenderer
extends java.lang.Object

Renders various charts and attaches the graph to the stapler response.

Author:
Ulli Hafner

Constructor Summary
ChartRenderer()
           
 
Method Summary
 void doStatistics(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, AnnotationContainer container)
          Generates a PNG image for high/normal/low distribution of the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartRenderer

public ChartRenderer()
Method Detail

doStatistics

public void doStatistics(org.kohsuke.stapler.StaplerRequest request,
                         org.kohsuke.stapler.StaplerResponse response,
                         AnnotationContainer container)
                  throws java.io.IOException
Generates a PNG image for high/normal/low distribution of the specified object. The type of the object is determined by the 'object' parameter of the StaplerRequest.

Parameters:
request - Stapler request
response - Stapler response
Throws:
java.io.IOException - in case of an error


Copyright © 2008. All Rights Reserved.