hudson.plugins.PerfPublisher
Class PerfPublisherPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.plugins.PerfPublisher.HealthPublisher
hudson.plugins.PerfPublisher.PerfPublisherPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class PerfPublisherPublisher
- extends HealthPublisher
- implements hudson.matrix.MatrixAggregatable
The publisher creates the results we want from the PerfPublisher execution.
- Author:
- Georges Bossert
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
|
Field Summary |
static hudson.model.Descriptor<hudson.tasks.Publisher> |
DESCRIPTOR
|
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
PerfPublisherPublisher(java.lang.String name,
java.lang.String threshold,
java.lang.String healthy,
java.lang.String unhealthy)
|
|
Method Summary |
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild matrixBuild,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
hudson.model.Descriptor<hudson.tasks.Publisher> |
getDescriptor()
|
java.lang.String |
getHealthy()
|
java.lang.String |
getName()
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject project)
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
java.lang.String |
getThreshold()
|
java.lang.String |
getUnhealthy()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectActions, prebuild |
DESCRIPTOR
public static final hudson.model.Descriptor<hudson.tasks.Publisher> DESCRIPTOR
PerfPublisherPublisher
@DataBoundConstructor
public PerfPublisherPublisher(java.lang.String name,
java.lang.String threshold,
java.lang.String healthy,
java.lang.String unhealthy)
getHealthy
public java.lang.String getHealthy()
- Returns:
- the healthy
getUnhealthy
public java.lang.String getUnhealthy()
- Returns:
- the unhealthy
getThreshold
public java.lang.String getThreshold()
getName
public java.lang.String getName()
getDescriptor
public hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptor in class hudson.tasks.Publisher
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild matrixBuild,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
createAggregator in interface hudson.matrix.MatrixAggregatable
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class HealthPublisher
- Throws:
java.lang.InterruptedException
java.io.IOException
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject project)
- Specified by:
getProjectAction in interface hudson.tasks.BuildStep- Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
Copyright © 2010. All Rights Reserved.