Package hudson.plugins.plot
Class SeriesFactory
java.lang.Object
hudson.plugins.plot.SeriesFactory
This class creates a Series class based on the data source
- Author:
- areese, Alan.Harder@sun.com
-
Method Summary
Modifier and TypeMethodDescriptionstatic Series
createSeries
(net.sf.json.JSONObject formData, org.kohsuke.stapler.StaplerRequest2 req) Using file and label and the Stapler request, create a subclass of series that can process the type selected.createSeriesList
(Object data, org.kohsuke.stapler.StaplerRequest2 req) static net.sf.json.JSONArray
Get data as JSONArray (wrap single JSONObject in array if needed).
-
Method Details
-
createSeries
public static Series createSeries(net.sf.json.JSONObject formData, org.kohsuke.stapler.StaplerRequest2 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
-
getArray
Get data as JSONArray (wrap single JSONObject in array if needed).
-