|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.util.BuildResultGraph
public abstract class BuildResultGraph
Base class for build results graphs.
| Constructor Summary | |
|---|---|
BuildResultGraph()
|
|
| Method Summary | |
|---|---|
protected long |
computeDayDelta(java.util.Calendar first,
java.util.Calendar second)
Computes the delta between two dates in days. |
abstract org.jfree.chart.JFreeChart |
create(GraphConfiguration configuration,
ResultAction<? extends BuildResult> resultAction,
java.lang.String pluginName)
Creates the trend graph. |
org.jfree.chart.JFreeChart |
createXYChart(org.jfree.data.xy.XYDataset dataset)
Creates a XY graph from the specified data set. |
java.lang.String |
getRootUrl()
Returns the root URL. |
protected void |
setPlotProperties(org.jfree.chart.plot.Plot plot)
Sets properties common to all plots of this plug-in. |
void |
setRootUrl(java.lang.String rootUrl)
Sets the root URL to the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildResultGraph()
| Method Detail |
|---|
public void setRootUrl(java.lang.String rootUrl)
rootUrl - the value to setpublic java.lang.String getRootUrl()
public abstract org.jfree.chart.JFreeChart create(GraphConfiguration configuration,
ResultAction<? extends BuildResult> resultAction,
java.lang.String pluginName)
configuration - the configuration parametersresultAction - the result action to start the graph computation frompluginName - the name of the plug-in
protected long computeDayDelta(java.util.Calendar first,
java.util.Calendar second)
first - the first datesecond - the second date
protected void setPlotProperties(org.jfree.chart.plot.Plot plot)
plot - the plot to set the properties forpublic org.jfree.chart.JFreeChart createXYChart(org.jfree.data.xy.XYDataset dataset)
dataset - the values to display
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||