hudson.plugins.findbugs.util
Interface HealthDescriptor

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractHealthDescriptor, FindBugsHealthDescriptor, FindBugsPublisher, FindBugsReporter, HealthAwareMavenReporter, HealthAwarePublisher, NullHealthDescriptor

public interface HealthDescriptor
extends java.io.Serializable

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

Author:
Ulli Hafner

Method Summary
 java.lang.String getFailureThreshold()
          Returns the annotation threshold to be reached if a build should be considered as failure.
 java.lang.String getHealthy()
          Returns the healthy threshold, i.e.
 Priority getMinimumPriority()
          Returns the minimum priority that should be considered when computing build health and stability.
 java.lang.String getNewFailureThreshold()
          Returns the threshold of new annotations to be reached if a build should be considered as failure.
 java.lang.String getNewThreshold()
          Returns the threshold for new annotations to be reached if a build should be considered as unstable.
 java.lang.String getThreshold()
          Returns the threshold of all annotations to be reached if a build should be considered as unstable.
 java.lang.String getUnHealthy()
          Returns the unhealthy threshold, i.e.
 

Method Detail

getThreshold

java.lang.String getThreshold()
Returns the threshold of all annotations to be reached if a build should be considered as unstable.

Returns:
the threshold of all annotations to be reached if a build should be considered as unstable.

getNewThreshold

java.lang.String getNewThreshold()
Returns the threshold for new annotations to be reached if a build should be considered as unstable.

Returns:
the threshold for new annotations to be reached if a build should be considered as unstable.

getFailureThreshold

java.lang.String getFailureThreshold()
Returns the annotation threshold to be reached if a build should be considered as failure.

Returns:
the annotation threshold to be reached if a build should be considered as failure.

getNewFailureThreshold

java.lang.String getNewFailureThreshold()
Returns the threshold of new annotations to be reached if a build should be considered as failure.

Returns:
the threshold of new annotations to be reached if a build should be considered as failure.

getHealthy

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

Returns:
the 100% healthiness

getUnHealthy

java.lang.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 and stability. E.g., if Priority.NORMAL is returned, then annotations with priority Priority.LOW are ignored.

Returns:
the minimum priority to consider


Copyright © 2009. All Rights Reserved.