hudson.plugins.analysis.collector
Class OriginGraph

java.lang.Object
  extended by hudson.plugins.analysis.graph.BuildResultGraph
      extended by hudson.plugins.analysis.graph.CategoryBuildResultGraph
          extended by hudson.plugins.analysis.collector.OriginGraph

public class OriginGraph
extends hudson.plugins.analysis.graph.CategoryBuildResultGraph

Builds a graph showing all warnings by their origin.

Author:
Ulli Hafner

Constructor Summary
OriginGraph()
          Creates a new instance of OriginGraph.
OriginGraph(boolean isCheckStyleActivated, boolean isDryActivated, boolean isFindBugsActivated, boolean isPmdActivated, boolean isOpenTasksActivated, boolean isWarningsActivated)
          Creates a new instance of OriginGraph.
 
Method Summary
protected  List<Integer> computeSeries(hudson.plugins.analysis.core.BuildResult current)
           
protected  org.jfree.chart.JFreeChart createChart(org.jfree.data.category.CategoryDataset dataSet)
           
protected  org.jfree.chart.renderer.category.CategoryItemRenderer createRenderer(hudson.plugins.analysis.graph.GraphConfiguration configuration, String pluginName, hudson.plugins.analysis.util.ToolTipProvider toolTipProvider)
           
protected  Color[] getColors()
           
 String getId()
           
 String getLabel()
           
protected  String getPlugin()
          Returns the plug-in that owns this graph and provides an example image.
protected  String getRowId(int level)
           
 
Methods inherited from class hudson.plugins.analysis.graph.CategoryBuildResultGraph
create, createAggregation, createAreaChart, createBlockChart, createChart, createLineGraph, createLineRenderer, setCategoryPlotProperties, setColors
 
Methods inherited from class hudson.plugins.analysis.graph.BuildResultGraph
computeDayDelta, computeDayDelta, createXYChart, getExampleImage, getGraph, getGraph, getRootUrl, 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

OriginGraph

public OriginGraph()
Creates a new instance of OriginGraph.


OriginGraph

public OriginGraph(boolean isCheckStyleActivated,
                   boolean isDryActivated,
                   boolean isFindBugsActivated,
                   boolean isPmdActivated,
                   boolean isOpenTasksActivated,
                   boolean isWarningsActivated)
Creates a new instance of OriginGraph.

Parameters:
isCheckStyleActivated - determines whether to show the warnings from Checkstyle
isDryActivated - determines whether to show the warnings from DRY
isFindBugsActivated - determines whether to show the warnings from FindBugs
isPmdActivated - determines whether to show the warnings from PMD
isOpenTasksActivated - determines whether to show open tasks
isWarningsActivated - determines whether to show compiler warnings
Method Detail

getId

public String getId()
Specified by:
getId in class hudson.plugins.analysis.graph.BuildResultGraph

getPlugin

protected String getPlugin()
Returns the plug-in that owns this graph and provides an example image.

Overrides:
getPlugin in class hudson.plugins.analysis.graph.BuildResultGraph
Returns:
the plug-in that owns this graph and provides an example image

getLabel

public String getLabel()
Specified by:
getLabel in class hudson.plugins.analysis.graph.BuildResultGraph

computeSeries

protected List<Integer> computeSeries(hudson.plugins.analysis.core.BuildResult current)
Specified by:
computeSeries in class hudson.plugins.analysis.graph.CategoryBuildResultGraph

createChart

protected org.jfree.chart.JFreeChart createChart(org.jfree.data.category.CategoryDataset dataSet)
Specified by:
createChart in class hudson.plugins.analysis.graph.CategoryBuildResultGraph

getColors

protected Color[] getColors()
Specified by:
getColors in class hudson.plugins.analysis.graph.CategoryBuildResultGraph

getRowId

protected String getRowId(int level)
Overrides:
getRowId in class hudson.plugins.analysis.graph.CategoryBuildResultGraph

createRenderer

protected org.jfree.chart.renderer.category.CategoryItemRenderer createRenderer(hudson.plugins.analysis.graph.GraphConfiguration configuration,
                                                                                String pluginName,
                                                                                hudson.plugins.analysis.util.ToolTipProvider toolTipProvider)
Specified by:
createRenderer in class hudson.plugins.analysis.graph.CategoryBuildResultGraph


Copyright © 2004-2012 Hudson. All Rights Reserved.