Class PerformanceReportParser
java.lang.Object
hudson.plugins.performance.parsers.PerformanceReportParser
- All Implemented Interfaces:
ExtensionPoint
,Describable<PerformanceReportParser>
- Direct Known Subclasses:
AbstractParser
public abstract class PerformanceReportParser
extends Object
implements Describable<PerformanceReportParser>, ExtensionPoint
Parses performance result files into
PerformanceReport
s. 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
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected boolean
Exclude response time of errored samplesfinal String
GLOB patterns that specify the performance report.protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<PerformanceReportParser>
all()
All registered implementations.abstract String
boolean
boolean
abstract Collection<PerformanceReport>
parse
(Run<?, ?> build, Collection<File> reports, TaskListener listener) Parses the specified reports intoPerformanceReport
s.void
setBaselineBuild
(int baselineBuild) void
setExcludeResponseTime
(boolean excludeResponseTime) void
setShowTrendGraphs
(boolean showTrendGraphs)
-
Field Details
-
glob
GLOB patterns that specify the performance report. -
reportURL
-
excludeResponseTime
protected boolean excludeResponseTimeExclude response time of errored samples -
showTrendGraphs
protected boolean showTrendGraphs -
baselineBuild
protected int baselineBuild
-
-
Constructor Details
-
PerformanceReportParser
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<PerformanceReportParser>
-
parse
public abstract Collection<PerformanceReport> parse(Run<?, ?> build, Collection<File> reports, TaskListener listener) throws IOExceptionParses the specified reports intoPerformanceReport
s.- Throws:
IOException
-
getDefaultGlobPattern
-
all
All registered implementations. -
getReportName
-
isExcludeResponseTime
public boolean isExcludeResponseTime() -
setExcludeResponseTime
public void setExcludeResponseTime(boolean excludeResponseTime) -
isShowTrendGraphs
public boolean isShowTrendGraphs() -
setShowTrendGraphs
public void setShowTrendGraphs(boolean showTrendGraphs) -
setBaselineBuild
public void setBaselineBuild(int baselineBuild)
-