|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.testabilityexplorer.helpers.AbstractBuildAction<T>
hudson.plugins.testabilityexplorer.report.AbstractBuildReport<T>
public abstract class AbstractBuildReport<T extends hudson.model.AbstractBuild<?,?>>
Abstract AbstractBuildAction class that is capable of rendering different build reports.
| Constructor Summary | |
|---|---|
AbstractBuildReport(java.util.Collection<Statistic> results,
ReportBuilder reportBuilder,
CostDetailBuilder detailBuilder)
|
|
| Method Summary | |
|---|---|
void |
doTrendGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
int height)
Renders a jfree chart graph into the given StaplerResponse. |
hudson.model.HealthReport |
getBuildHealth()
|
java.lang.String |
getDisplayName()
|
java.lang.Object |
getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
This will be called implicitly by Stapler framework, if there is a dynamic part in the regular link. Example: lets say your plugin is called testability. |
java.lang.String |
getGraphName()
Title that will be displayed above the graph. |
java.lang.String |
getIconFileName()
|
java.util.Collection<Statistic> |
getResults()
|
java.lang.String |
getSummary()
Controls the summary text to display beside the build report icon on the build summary page. |
int |
getTotals()
|
java.lang.String |
getUrlName()
|
| Methods inherited from class hudson.plugins.testabilityexplorer.helpers.AbstractBuildAction |
|---|
getBuild, isFloatingBoxActive, isGraphActive, setBuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBuildReport(java.util.Collection<Statistic> results,
ReportBuilder reportBuilder,
CostDetailBuilder detailBuilder)
| Method Detail |
|---|
public java.util.Collection<Statistic> getResults()
public java.lang.String getSummary()
getSummary in class AbstractBuildAction<T extends hudson.model.AbstractBuild<?,?>>public int getTotals()
public java.lang.Object getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
testability. When requesting http://hudson:8080/job/project/build/testability/foo
this method gets called with foo as first parameter.
link - the dynamic part of the url after the plugin namerequest - StaplerRequestresponse - StaplerResponse
public hudson.model.HealthReport getBuildHealth()
public final void doTrendGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
int height)
throws java.io.IOException
StaplerResponse. If the given StaplerRequest contains a
paramter classes set to true, a classes trend graph instead of the overall trend graph will be rendered.
request - a StaplerRequestresponse - a StaplerResponseheight - the height of the charts (not used for now)
java.io.IOException - if there is a problem writing to the StaplerResponsepublic java.lang.String getGraphName()
AbstractBuildAction
getGraphName in class AbstractBuildAction<T extends hudson.model.AbstractBuild<?,?>>public java.lang.String getIconFileName()
public java.lang.String getDisplayName()
public java.lang.String getUrlName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||