com.cwctravel.hudson.plugins.suitegroupedtests
Class TrendGraph

java.lang.Object
  extended by hudson.util.Graph
      extended by com.cwctravel.hudson.plugins.suitegroupedtests.TrendGraph

public class TrendGraph
extends hudson.util.Graph

User: Benjamin Shine bshine Date: Nov 6, 2009 Time: 5:16:14 PM


Field Summary
protected  java.util.List<JUnitSummaryInfo> historyList
           
 
Constructor Summary
protected TrendGraph(java.lang.String prefixUrl, java.lang.String suffixUrl, java.lang.String yLabel, java.util.List<JUnitSummaryInfo> historyList)
           
 
Method Summary
protected  hudson.util.DataSetBuilder<java.lang.String,com.cwctravel.hudson.plugins.suitegroupedtests.ChartLabel> createDataSet()
           
protected  org.jfree.chart.JFreeChart createGraph()
           
 void doMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Renders a clickable map.
 void doPng(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.util.List<JUnitSummaryInfo> getList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

historyList

protected final java.util.List<JUnitSummaryInfo> historyList
Constructor Detail

TrendGraph

protected TrendGraph(java.lang.String prefixUrl,
                     java.lang.String suffixUrl,
                     java.lang.String yLabel,
                     java.util.List<JUnitSummaryInfo> historyList)
Method Detail

createDataSet

protected hudson.util.DataSetBuilder<java.lang.String,com.cwctravel.hudson.plugins.suitegroupedtests.ChartLabel> createDataSet()

doPng

public void doPng(org.kohsuke.stapler.StaplerRequest req,
                  org.kohsuke.stapler.StaplerResponse rsp)
           throws java.io.IOException
Overrides:
doPng in class hudson.util.Graph
Throws:
java.io.IOException

doMap

public void doMap(org.kohsuke.stapler.StaplerRequest req,
                  org.kohsuke.stapler.StaplerResponse rsp)
           throws java.io.IOException
Renders a clickable map.

Overrides:
doMap in class hudson.util.Graph
Throws:
java.io.IOException

getList

public java.util.List<JUnitSummaryInfo> getList()

createGraph

protected org.jfree.chart.JFreeChart createGraph()
Specified by:
createGraph in class hudson.util.Graph


Copyright © 2004-2012. All Rights Reserved.