hudson.plugins.pmd
Class PmdHealthDescriptor

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

public class PmdHealthDescriptor
extends AbstractHealthDescriptor

A health descriptor for PMD build results.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
PmdHealthDescriptor(HealthDescriptor healthDescriptor)
          Creates a new instance of PmdHealthDescriptor based on the values of the specified descriptor.
 
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
 

Constructor Detail

PmdHealthDescriptor

public PmdHealthDescriptor(HealthDescriptor healthDescriptor)
Creates a new instance of PmdHealthDescriptor based on the values of the specified descriptor.

Parameters:
healthDescriptor - the descriptor to copy the values from
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.