org.jenkinsci.plugins.neoload_integration
Class NeoPostBuildAction

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by org.jenkinsci.plugins.neoload_integration.NeoPostBuildAction
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, Serializable, NeoLoadPluginOptions

public class NeoPostBuildAction
extends hudson.tasks.Recorder
implements NeoLoadPluginOptions, Serializable

This class adds the link to the html report to a build after the build has completed. Extend Recorder instead of Notifier for Hudson compatability. This class also holds the settings chosen by the user for the plugin.

See Also:
Serialized Form

Nested Class Summary
static class NeoPostBuildAction.DescriptorImpl
           
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
NeoPostBuildAction(boolean showTrendAverageResponse, boolean showTrendErrorRate)
           
 
Method Summary
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean isShowTrendAverageResponse()
           
 boolean isShowTrendErrorRate()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Recorder
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

NeoPostBuildAction

@DataBoundConstructor
public NeoPostBuildAction(boolean showTrendAverageResponse,
                                               boolean showTrendErrorRate)
Method Detail

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer

isShowTrendAverageResponse

public boolean isShowTrendAverageResponse()
Specified by:
isShowTrendAverageResponse in interface NeoLoadPluginOptions
Returns:
the showTrendAverageResponse

isShowTrendErrorRate

public boolean isShowTrendErrorRate()
Specified by:
isShowTrendErrorRate in interface NeoLoadPluginOptions
Returns:
the showTrendErrorRate


Copyright © 2004-2013. All Rights Reserved.