org.jvnet.hudson.plugins.seleniumhtmlreport
Class SeleniumHtmlReportAction

java.lang.Object
  extended by org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, Serializable

public class SeleniumHtmlReportAction
extends Object
implements hudson.model.Action, Serializable

Author:
Marco Machmer
See Also:
Serialized Form

Nested Class Summary
protected static interface SeleniumHtmlReportAction.TestResultValueProvider
           
 
Field Summary
 hudson.model.AbstractBuild<?,?> build
           
 
Constructor Summary
SeleniumHtmlReportAction(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, List<TestResult> results, File seleniumReportsDir)
           
 
Method Summary
protected  int calculateSumOf(SeleniumHtmlReportAction.TestResultValueProvider values)
           
 hudson.model.DirectoryBrowserSupport doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 String getDisplayName()
           
 String getIconFileName()
           
 hudson.model.AbstractBuild<?,?> getOwner()
           
 List<TestResult> getResults()
           
 int getSumCommandErrors()
           
 int getSumCommandFailures()
           
 int getSumCommandPasses()
           
 int getSumTestFailures()
           
 int getSumTestPasses()
           
 int getSumTestTotal()
           
 int getTotalTime()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

build

public final hudson.model.AbstractBuild<?,?> build
Constructor Detail

SeleniumHtmlReportAction

public SeleniumHtmlReportAction(hudson.model.AbstractBuild<?,?> build,
                                hudson.model.BuildListener listener,
                                List<TestResult> results,
                                File seleniumReportsDir)
Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()

getResults

public List<TestResult> getResults()

getSumTestPasses

public int getSumTestPasses()

calculateSumOf

protected int calculateSumOf(SeleniumHtmlReportAction.TestResultValueProvider values)

getSumTestFailures

public int getSumTestFailures()

getSumCommandPasses

public int getSumCommandPasses()

getSumCommandFailures

public int getSumCommandFailures()

getSumCommandErrors

public int getSumCommandErrors()

getSumTestTotal

public int getSumTestTotal()

getTotalTime

public int getTotalTime()

doDynamic

public hudson.model.DirectoryBrowserSupport doDynamic(org.kohsuke.stapler.StaplerRequest req,
                                                      org.kohsuke.stapler.StaplerResponse rsp)


Copyright © 2004-2011. All Rights Reserved.