|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HealthDescriptor
A health descriptor defines the parameters to create the build health. It consists of the following constraints:
| Method Summary | |
|---|---|
int |
getHealthyAnnotations()
Returns the healthy threshold for annotations, i.e. when health is reported as 100%. |
int |
getMinimumAnnotations()
Returns the threshold to be reached if a build should be considered as unstable. |
Priority |
getMinimumPriority()
Returns the minimum priority that should be considered when computing build health and stability. |
int |
getUnHealthyAnnotations()
Returns the unhealthy threshold of annotations, i.e. when health is reported as 0%. |
boolean |
isHealthyReportEnabled()
Determines whether a health report should be created. |
boolean |
isThresholdEnabled()
Determines whether a threshold has been defined. |
| Method Detail |
|---|
boolean isThresholdEnabled()
true if a threshold has been definedint getMinimumAnnotations()
boolean isHealthyReportEnabled()
true if a health report should be createdint getHealthyAnnotations()
int getUnHealthyAnnotations()
Priority getMinimumPriority()
Priority.NORMAL is
returned, then annotations with priority Priority.LOW are
ignored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||