|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.PerfPublisher.HealthReportBuilder
public class HealthReportBuilder
Creates a health report for integer values based on healthy and unhealthy thresholds.
HealthReport,
Serialized Form| Constructor Summary | |
|---|---|
HealthReportBuilder(HealthDescriptor healthDescriptor)
Creates a new instance of HealthReportBuilder. |
|
| Method Summary | |
|---|---|
hudson.model.HealthReport |
computeHealth(HealthDescriptor healthDescriptor,
ReportContainer result)
Computes the healthiness of a build based on the specified results. |
boolean |
isEnabled()
Returns whether this health report build is enabled, i.e. at least one of the health or failed thresholds are provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HealthReportBuilder(HealthDescriptor healthDescriptor)
HealthReportBuilder.
healthDescriptor - health descriptor| Method Detail |
|---|
public hudson.model.HealthReport computeHealth(HealthDescriptor healthDescriptor,
ReportContainer result)
#healthy. Reports a health of 0% when the specified counter is
greater than #unHealthy. The computation takes only annotations
of the specified severity into account.
result - annotations of the current build
public boolean isEnabled()
true if health or failed thresholds are provided
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||