hudson.plugins.robot
Class RobotBuildAction

java.lang.Object
  extended by hudson.plugins.robot.AbstractRobotAction
      extended by hudson.plugins.robot.RobotBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class RobotBuildAction
extends AbstractRobotAction


Constructor Summary
RobotBuildAction(hudson.model.AbstractBuild<?,?> build, RobotResult result, java.lang.String outputPath, java.lang.String reportFileName)
           
 
Method Summary
 void doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 long getAllFailed()
           
 long getAllPassed()
           
 long getAllTotal()
           
 hudson.model.AbstractBuild<?,?> getBuild()
           
 long getCriticalFailed()
           
 long getCriticalPassed()
           
 double getCriticalPassPercentage()
           
 long getCriticalTotal()
           
 java.util.List<RobotResultStatistics> getOverallStats()
           
 double getPassPercentage()
           
 java.lang.String getReportFileName()
           
 RobotResult getResult()
           
protected  hudson.FilePath getRobotDir()
           
 void setBuild(hudson.model.AbstractBuild<?,?> build)
           
 void setResult(RobotResult result)
           
 
Methods inherited from class hudson.plugins.robot.AbstractRobotAction
getDisplayName, getIconFileName, getUrlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotBuildAction

public RobotBuildAction(hudson.model.AbstractBuild<?,?> build,
                        RobotResult result,
                        java.lang.String outputPath,
                        java.lang.String reportFileName)
Method Detail

getBuild

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

getPassPercentage

public double getPassPercentage()

getCriticalPassPercentage

public double getCriticalPassPercentage()

getAllPassed

public long getAllPassed()

getAllFailed

public long getAllFailed()

getAllTotal

public long getAllTotal()

getCriticalFailed

public long getCriticalFailed()

getCriticalPassed

public long getCriticalPassed()

getCriticalTotal

public long getCriticalTotal()

getOverallStats

public java.util.List<RobotResultStatistics> getOverallStats()

getResult

public RobotResult getResult()

setResult

public void setResult(RobotResult result)

setBuild

public void setBuild(hudson.model.AbstractBuild<?,?> build)

getReportFileName

public java.lang.String getReportFileName()

doGraph

public void doGraph(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws java.io.IOException
Throws:
java.io.IOException

doDynamic

public void doDynamic(org.kohsuke.stapler.StaplerRequest req,
                      org.kohsuke.stapler.StaplerResponse rsp)
               throws java.io.IOException,
                      javax.servlet.ServletException,
                      java.lang.InterruptedException
Throws:
java.io.IOException
javax.servlet.ServletException
java.lang.InterruptedException

getRobotDir

protected hudson.FilePath getRobotDir()


Copyright © 2010. All Rights Reserved.