hudson.plugins.performance
Class PerformanceReportParser

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

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

Parses performance 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
 java.lang.String glob
          GLOB patterns that specify the performance report.
 
Constructor Summary
protected PerformanceReportParser(java.lang.String glob)
           
 
Method Summary
static hudson.ExtensionList<PerformanceReportParser> all()
          All registered implementations.
abstract  java.lang.String getDefaultGlobPattern()
           
 PerformanceReportParserDescriptor getDescriptor()
           
 java.lang.String getReportName()
           
abstract  java.util.Collection<PerformanceReport> parse(hudson.model.AbstractBuild<?,?> build, java.util.Collection<java.io.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 java.lang.String glob
GLOB patterns that specify the performance report.

Constructor Detail

PerformanceReportParser

@DataBoundConstructor
protected PerformanceReportParser(java.lang.String glob)
Method Detail

getDescriptor

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

parse

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

Throws:
java.io.IOException

getDefaultGlobPattern

public abstract java.lang.String getDefaultGlobPattern()

all

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


getReportName

public java.lang.String getReportName()


Copyright © 2010. All Rights Reserved.