hudson.plugins.analysis.collector
Class OriginGraph
java.lang.Object
hudson.plugins.analysis.graph.BuildResultGraph
hudson.plugins.analysis.graph.CategoryBuildResultGraph
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 |
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 CheckstyleisDryActivated - determines whether to show the warnings from DRYisFindBugsActivated - determines whether to show the warnings from FindBugsisPmdActivated - determines whether to show the warnings from PMDisOpenTasksActivated - determines whether to show open tasksisWarningsActivated - determines whether to show compiler warnings
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.