hudson.plugins.plot
Class CSVSeries

java.lang.Object
  extended by hudson.plugins.plot.Series
      extended by hudson.plugins.plot.CSVSeries

public class CSVSeries
extends Series

Represents a plot data series configuration from an CSV file.

Author:
Allen Reese

Nested Class Summary
static class CSVSeries.InclusionFlag
           
 
Field Summary
 
Fields inherited from class hudson.plugins.plot.Series
file, fileType, label
 
Constructor Summary
CSVSeries(String file, String url, String inclusionFlag, String exclusionValues, boolean displayTableFlag)
           
 
Method Summary
 boolean getDisplayTableFlag()
           
 String getExclusionValues()
           
 String getInclusionFlag()
           
 String getUrl()
           
 PlotPoint[] loadSeries(hudson.FilePath workspaceRootDir, PrintStream logger)
          Load the series from a properties file.
 
Methods inherited from class hudson.plugins.plot.Series
getFile, getFileType, getLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVSeries

@DataBoundConstructor
public CSVSeries(String file,
                                      String url,
                                      String inclusionFlag,
                                      String exclusionValues,
                                      boolean displayTableFlag)
Parameters:
file -
label -
req - Stapler request
radioButtonId - ID used to find the parameters specific to this instance.
Throws:
javax.servlet.ServletException
Method Detail

getInclusionFlag

public String getInclusionFlag()

getExclusionValues

public String getExclusionValues()

getUrl

public String getUrl()

getDisplayTableFlag

public boolean getDisplayTableFlag()

loadSeries

public PlotPoint[] loadSeries(hudson.FilePath workspaceRootDir,
                              PrintStream logger)
Load the series from a properties file.

Overrides:
loadSeries in class Series
Parameters:
workspaceRootDir - the root directory of the workspace
logger - the logger to use
Returns:
a PlotPoint array of points to plot


Copyright © 2004-2011. All Rights Reserved.