hudson.plugins.analysis.graph
Class DifferenceGraph

java.lang.Object
  extended by hudson.plugins.analysis.graph.BuildResultGraph
      extended by hudson.plugins.analysis.graph.DifferenceGraph

public class DifferenceGraph
extends BuildResultGraph

Builds a graph with the difference between new and fixed warnings for a specified result action.

Author:
Ulli Hafner

Constructor Summary
DifferenceGraph()
           
 
Method Summary
 org.jfree.chart.JFreeChart create(GraphConfiguration configuration, ResultAction<? extends BuildResult> resultAction, String pluginName)
          Creates a PNG image trend graph with clickable map.
 org.jfree.chart.JFreeChart createAggregation(GraphConfiguration configuration, Collection<ResultAction<? extends BuildResult>> resultActions, String pluginName)
          Creates a PNG image trend graph with clickable map.
 String getId()
          Returns the ID of this graph.
 String getLabel()
          Returns a human readable label describing this graph.
 
Methods inherited from class hudson.plugins.analysis.graph.BuildResultGraph
computeDayDelta, computeDayDelta, createXYChart, getExampleImage, getGraph, getGraph, getPlugin, getRootUrl, isBuildTooOld, isDeactivated, isSelectable, isVisible, setPlotProperties, setRootUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DifferenceGraph

public DifferenceGraph()
Method Detail

getId

public String getId()
Description copied from class: BuildResultGraph
Returns the ID of this graph.

Specified by:
getId in class BuildResultGraph
Returns:
the ID of this graph

getLabel

public String getLabel()
Description copied from class: BuildResultGraph
Returns a human readable label describing this graph.

Specified by:
getLabel in class BuildResultGraph
Returns:
a label for this graph

create

public org.jfree.chart.JFreeChart create(GraphConfiguration configuration,
                                         ResultAction<? extends BuildResult> resultAction,
                                         String pluginName)
Description copied from class: BuildResultGraph
Creates a PNG image trend graph with clickable map.

Specified by:
create in class BuildResultGraph
Parameters:
configuration - the configuration parameters
resultAction - the result action to start the graph computation from
pluginName - the name of the plug-in (project action URL) to create links to. If set to null then no links are created
Returns:
the graph

createAggregation

public org.jfree.chart.JFreeChart createAggregation(GraphConfiguration configuration,
                                                    Collection<ResultAction<? extends BuildResult>> resultActions,
                                                    String pluginName)
Description copied from class: BuildResultGraph
Creates a PNG image trend graph with clickable map.

Specified by:
createAggregation in class BuildResultGraph
Parameters:
configuration - the configuration parameters
resultActions - the result actions to start the graph computation from
pluginName - the name of the plug-in
Returns:
the graph


Copyright © 2004-2012 Hudson. All Rights Reserved.