Package hudson.plugins.plot
Class XMLSeries
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<Series>
-
- hudson.plugins.plot.Series
-
- hudson.plugins.plot.XMLSeries
-
- All Implemented Interfaces:
Describable<Series>
public class XMLSeries extends Series
Represents a plot data series configuration from an XML file.- Author:
- Allen Reese
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XMLSeries.DescriptorImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Descriptor<Series>
getDescriptor()
String
getNodeType()
String
getUrl()
String
getXpath()
List<PlotPoint>
loadSeries(FilePath workspaceRootDir, int buildNumber, PrintStream logger)
Load the series from a properties file.-
Methods inherited from class hudson.plugins.plot.Series
getFile, getFileType, getLabel, getUrl
-
-
-
-
Method Detail
-
getXpath
public String getXpath()
-
getNodeType
public String getNodeType()
-
getUrl
public String getUrl()
-
loadSeries
public List<PlotPoint> loadSeries(FilePath workspaceRootDir, int buildNumber, PrintStream logger)
Load the series from a properties file.- Specified by:
loadSeries
in classSeries
- Parameters:
workspaceRootDir
- the root directory of the workspacebuildNumber
- the build Numberlogger
- the logger to use- Returns:
- a PlotPoint array of points to plot
-
getDescriptor
public Descriptor<Series> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Series>
- Overrides:
getDescriptor
in classSeries
-
-