hudson.plugins.plot
Class SeriesFactory
java.lang.Object
hudson.plugins.plot.SeriesFactory
public class SeriesFactory
- extends Object
This class creates a Series class based on the data source
- Author:
- areese, Alan.Harder@sun.com
|
Method Summary |
static Series |
createSeries(net.sf.json.JSONObject formData,
org.kohsuke.stapler.StaplerRequest req)
Using file and label and the Stapler request, create a subclass of series that can process the type selected. |
static List<Series> |
createSeriesList(Object data,
org.kohsuke.stapler.StaplerRequest req)
|
static net.sf.json.JSONArray |
getArray(Object data)
Get data as JSONArray (wrap single JSONObject in array if needed). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeriesFactory
public SeriesFactory()
createSeries
public static Series createSeries(net.sf.json.JSONObject formData,
org.kohsuke.stapler.StaplerRequest req)
- Using file and label and the Stapler request, create a subclass of series that can process the type selected.
- Parameters:
formData - JSON data for series
createSeriesList
public static List<Series> createSeriesList(Object data,
org.kohsuke.stapler.StaplerRequest req)
getArray
public static net.sf.json.JSONArray getArray(Object data)
- Get data as JSONArray (wrap single JSONObject in array if needed).
Copyright © 2004-2014. All Rights Reserved.