hudson.plugins.analysis.core
Interface HealthDescriptor

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractHealthDescriptor, HealthAwareMavenReporter, HealthAwarePublisher, HealthAwareRecorder, HealthAwareReporter, NullHealthDescriptor

public interface HealthDescriptor
extends Serializable

A health descriptor defines the parameters to create the build health.

Author:
Ulli Hafner

Method Summary
 String getHealthy()
          Returns the healthy threshold, i.e.
 Priority getMinimumPriority()
          Returns the minimum priority that should be considered when computing build health.
 Thresholds getThresholds()
          Returns the threshold of all annotations to be reached if a build should be considered as unstable or failed, resp.
 String getUnHealthy()
          Returns the unhealthy threshold, i.e.
 

Method Detail

getThresholds

Thresholds getThresholds()
Returns the threshold of all annotations to be reached if a build should be considered as unstable or failed, resp.

Returns:
the threshold

getHealthy

String getHealthy()
Returns the healthy threshold, i.e. when health is reported as 100%.

Returns:
the 100% healthiness

getUnHealthy

String getUnHealthy()
Returns the unhealthy threshold, i.e. when health is reported as 0%.

Returns:
the 0% unhealthiness

getMinimumPriority

Priority getMinimumPriority()
Returns the minimum priority that should be considered when computing build health. E.g., if Priority.NORMAL is returned, then annotations with priority Priority.LOW are ignored.

Returns:
the minimum priority to consider


Copyright © 2004-2012 Hudson. All Rights Reserved.