hudson.plugins.performance
Class PerformanceReportParser
java.lang.Object
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 classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
java.lang.String |
glob
GLOB patterns that specify the performance report. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
glob
public final java.lang.String glob
- GLOB patterns that specify the performance report.
PerformanceReportParser
@DataBoundConstructor
protected PerformanceReportParser(java.lang.String glob)
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.