com.excilys.ebi.gatling.jenkins
Class GatlingBuildAction

java.lang.Object
  extended by com.excilys.ebi.gatling.jenkins.GatlingBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class GatlingBuildAction
extends Object
implements hudson.model.Action


Constructor Summary
GatlingBuildAction(hudson.model.AbstractBuild<?,?> build, List<BuildSimulation> sims)
           
 
Method Summary
 hudson.model.AbstractBuild<?,?> getBuild()
           
 String getDisplayName()
           
 String getIconFileName()
           
 ReportRenderer getReport(String simName)
          This method is called dynamically for any HTTP request to our plugin's URL followed by "/report/SomeSimulationName".
 String getReportURL(String simName)
           
 List<BuildSimulation> getSimulations()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatlingBuildAction

public GatlingBuildAction(hudson.model.AbstractBuild<?,?> build,
                          List<BuildSimulation> sims)
Method Detail

getBuild

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

getSimulations

public List<BuildSimulation> getSimulations()

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

getReport

public ReportRenderer getReport(String simName)
This method is called dynamically for any HTTP request to our plugin's URL followed by "/report/SomeSimulationName". It returns a new instance of ReportRenderer, which contains the actual logic for rendering a report.

Parameters:
simName -

getReportURL

public String getReportURL(String simName)


Copyright © 2004-2013. All Rights Reserved.