com.excilys.ebi.gatling.jenkins
Class ReportRenderer
java.lang.Object
com.excilys.ebi.gatling.jenkins.ReportRenderer
public class ReportRenderer
- extends Object
This class is used by the GatlingBuildAction to handle the rendering
of gatling reports.
|
Method Summary |
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
This method will be called when there are no remaining URL tokens to
process after GatlingBuildAction has handled the initial
`/report/MySimulationName` prefix. |
void |
doSource(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
This method will be called for all URLs that are routed here by
GatlingBuildAction with a prefix of `/source`. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportRenderer
public ReportRenderer(GatlingBuildAction gatlingBuildAction,
BuildSimulation simulation)
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException,
javax.servlet.ServletException
- This method will be called when there are no remaining URL tokens to
process after
GatlingBuildAction has handled the initial
`/report/MySimulationName` prefix. It renders the `report.jelly`
template inside of the Jenkins UI.
- Parameters:
request - response -
- Throws:
IOException
javax.servlet.ServletException
doSource
public void doSource(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException,
javax.servlet.ServletException
- This method will be called for all URLs that are routed here by
GatlingBuildAction with a prefix of `/source`.
All such requests basically result in the servlet simply serving
up content files directly from the archived simulation directory
on disk.
- Parameters:
request - response -
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2004-2013. All Rights Reserved.