hudson.plugins.pmd.util
Class NullHealthDescriptor

java.lang.Object
  extended by hudson.plugins.pmd.util.AbstractHealthDescriptor
      extended by hudson.plugins.pmd.util.NullHealthDescriptor
All Implemented Interfaces:
HealthDescriptor, java.io.Serializable

public class NullHealthDescriptor
extends AbstractHealthDescriptor

A HealthDescriptor that neither has the failure threshold nor the health report enabled.

Author:
Ulli Hafner
See Also:
Serialized Form

Field Summary
static NullHealthDescriptor NULL_HEALTH_DESCRIPTOR
          Shared null health descriptor.
 
Constructor Summary
NullHealthDescriptor()
           
 
Method Summary
protected  org.jvnet.localizer.Localizable createDescription(AnnotationProvider result)
          Returns a localized description of the build health.
 
Methods inherited from class hudson.plugins.pmd.util.AbstractHealthDescriptor
getFailureThreshold, getHealthy, getHealthyAnnotations, getMinimumAnnotations, getMinimumPriority, getNewFailureThreshold, getNewThreshold, getThreshold, getUnHealthy, getUnHealthyAnnotations, isEnabled, isHealthyReportEnabled, isThresholdEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_HEALTH_DESCRIPTOR

public static final NullHealthDescriptor NULL_HEALTH_DESCRIPTOR
Shared null health descriptor.

Constructor Detail

NullHealthDescriptor

public NullHealthDescriptor()
Method Detail

createDescription

protected org.jvnet.localizer.Localizable createDescription(AnnotationProvider result)
Returns a localized description of the build health.

Specified by:
createDescription in class AbstractHealthDescriptor
Parameters:
result - the result of the build
Returns:
a localized description of the build health


Copyright © 2009. All Rights Reserved.