hudson.plugins.blazemeter
Class PerformanceReportParser

java.lang.Object
  extended by hudson.plugins.blazemeter.PerformanceReportParser
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<PerformanceReportParser>
Direct Known Subclasses:
LoadReportParser

public abstract class PerformanceReportParser
extends Object
implements hudson.model.Describable<PerformanceReportParser>, hudson.ExtensionPoint

Parses blazemeter result files into PerformanceReports. This object is persisted with PerformancePublisher into the project configuration.

Subtypes can define additional parser-specific parameters as instance fields.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String glob
          GLOB patterns that specify the blazemeter report.
 
Constructor Summary
protected PerformanceReportParser(String glob)
           
 
Method Summary
static hudson.ExtensionList<PerformanceReportParser> all()
          All registered implementations.
abstract  String getDefaultGlobPattern()
           
 PerformanceReportParserDescriptor getDescriptor()
           
 String getReportName()
           
abstract  Collection<PerformanceReport> parse(hudson.model.AbstractBuild<?,?> build, Collection<File> reports, hudson.model.TaskListener listener)
          Parses the specified reports into PerformanceReports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

glob

public final String glob
GLOB patterns that specify the blazemeter report.

Constructor Detail

PerformanceReportParser

@DataBoundConstructor
protected PerformanceReportParser(String glob)
Method Detail

getDescriptor

public PerformanceReportParserDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<PerformanceReportParser>

parse

public abstract Collection<PerformanceReport> parse(hudson.model.AbstractBuild<?,?> build,
                                                    Collection<File> reports,
                                                    hudson.model.TaskListener listener)
                                             throws IOException
Parses the specified reports into PerformanceReports.

Throws:
IOException

getDefaultGlobPattern

public abstract String getDefaultGlobPattern()

all

public static hudson.ExtensionList<PerformanceReportParser> all()
All registered implementations.


getReportName

public String getReportName()


Copyright © July 2012-2013 BlazeMeterInc. All Rights Reserved.