|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type of the resultpublic interface ResultAction<T>
Defines an action that is responsible for handling results of the given type
T.
| Method Summary | |
|---|---|
void |
doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a PNG image showing the trend graph for this result action. |
void |
doGraphMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a clickable map for the trend graph of this result action. |
HealthReportBuilder |
getHealthReportBuilder()
Returns the associated health report builder. |
ResultAction<T> |
getPreviousResultAction()
Returns the result action from the previous build. |
T |
getResult()
Returns the current result of this action. |
boolean |
hasPreviousResultAction()
Returns whether a previous build already has a result action of this type attached. |
void |
setResult(T result)
Sets the result for this build. |
| Methods inherited from interface hudson.model.Action |
|---|
getDisplayName, getIconFileName, getUrlName |
| Method Detail |
|---|
T getResult()
void setResult(T result)
result - the result to setboolean hasPreviousResultAction()
true a previous build already has a result action
of this type attachedResultAction<T> getPreviousResultAction()
java.util.NoSuchElementException - if there is no previous result action is found
void doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error
void doGraphMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an errorHealthReportBuilder getHealthReportBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||