hudson.plugins.seleniumhq
Class SeleniumhqPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by hudson.plugins.seleniumhq.SeleniumhqPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, java.io.Serializable

public class SeleniumhqPublisher
extends hudson.tasks.Recorder
implements java.io.Serializable

Clover Publisher.

Author:
Pascal Martin
See Also:
Serialized Form

Nested Class Summary
static class SeleniumhqPublisher.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
SeleniumhqPublisher(java.lang.String testResults, boolean useTestCommands)
           
 
Method Summary
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
static java.io.File getSeleniumReportDir(hudson.model.AbstractItem project)
          Gets the directory where the Clover Report is stored for the given project.
 java.lang.String getTestResults()
           
 java.lang.Boolean getUseTestCommands()
           
 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
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
 

Constructor Detail

SeleniumhqPublisher

@DataBoundConstructor
public SeleniumhqPublisher(java.lang.String testResults,
                                                boolean useTestCommands)
Parameters:
testResults -
useTestCommands -
Method Detail

getTestResults

public java.lang.String getTestResults()

getUseTestCommands

public java.lang.Boolean getUseTestCommands()

getRequiredMonitorService

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

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

getSeleniumReportDir

public static java.io.File getSeleniumReportDir(hudson.model.AbstractItem project)
Gets the directory where the Clover Report is stored for the given project.


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 hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException


Copyright © 2010. All Rights Reserved.