|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type of the resultpublic interface ResultAction<T extends BuildResult>
Defines an action that is responsible for handling results of the given type
T.
| Method Summary | |
|---|---|
hudson.model.AbstractBuild<?,?> |
getBuild()
Returns the associated build of this action. |
AbstractHealthDescriptor |
getHealthDescriptor()
Gets the associated health descriptor. |
T |
getResult()
Returns the current result of this action. |
ToolTipProvider |
getToolTipProvider()
Returns the associated tool tip provider. |
boolean |
isSuccessful()
Returns whether this build is successful with respect to the HealthDescriptor of this action. |
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 sethudson.model.AbstractBuild<?,?> getBuild()
ToolTipProvider getToolTipProvider()
AbstractHealthDescriptor getHealthDescriptor()
boolean isSuccessful()
HealthDescriptor of this action.
true if the build is successful, false
if the build has been set to Result.UNSTABLE or
Result.FAILURE by this action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||