hudson.plugins.covcomplplot
Class CovComplPlotTaget.GraphImpl

java.lang.Object
  extended by hudson.plugins.covcomplplot.util.CustomGraph
      extended by hudson.plugins.covcomplplot.CovComplPlotTaget.GraphImpl
Enclosing class:
CovComplPlotTaget

public class CovComplPlotTaget.GraphImpl
extends CustomGraph

Implementation of scatter plot graph

Author:
JunHo Yoon

Field Summary
 long timeInMillis
          Timestamp
 
Fields inherited from class hudson.plugins.covcomplplot.util.CustomGraph
defaultH, defaultW, graph, timestamp
 
Constructor Summary
protected CovComplPlotTaget.GraphImpl()
          Default constructor
 
Method Summary
protected  org.jfree.chart.JFreeChart createGraph()
          Prepare JFreeChart instance to render image
 void doPng(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Renders a graph.
 String getMapString(String withBuildNo)
          Create image map string.
 
Methods inherited from class hudson.plugins.covcomplplot.util.CustomGraph
render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeInMillis

public final long timeInMillis
Timestamp

Constructor Detail

CovComplPlotTaget.GraphImpl

protected CovComplPlotTaget.GraphImpl()
Default constructor

Method Detail

doPng

public void doPng(org.kohsuke.stapler.StaplerRequest req,
                  org.kohsuke.stapler.StaplerResponse rsp)
           throws IOException
Description copied from class: CustomGraph
Renders a graph.

Overrides:
doPng in class CustomGraph
Parameters:
req - request from which the some attribute is extracted (width / height)
rsp - response to which the image is written.
Throws:
IOException - occurs when there is IO problems

getMapString

public String getMapString(String withBuildNo)
Create image map string. This method uses caching inside.

Parameters:
withBuildNo - "true" if URL should contains build NO.
Returns:
Image Map String

createGraph

protected org.jfree.chart.JFreeChart createGraph()
Description copied from class: CustomGraph
Prepare JFreeChart instance to render image

Specified by:
createGraph in class CustomGraph
Returns:
chart prepared JFreeChart instance


Copyright © 2004-2011. All Rights Reserved.