hudson.plugins.cppncss
Enum CppNCSSHealthMetrics

java.lang.Object
  extended by java.lang.Enum<CppNCSSHealthMetrics>
      extended by hudson.plugins.cppncss.CppNCSSHealthMetrics
All Implemented Interfaces:
HealthMetric<CppNCSSBuildIndividualReport>, java.io.Serializable, java.lang.Comparable<CppNCSSHealthMetrics>

public enum CppNCSSHealthMetrics
extends java.lang.Enum<CppNCSSHealthMetrics>
implements HealthMetric<CppNCSSBuildIndividualReport>

Created by IntelliJ IDEA. User: stephen Date: 18-Mar-2008 Time: 06:04:17 To change this template use File | Settings | File Templates.


Enum Constant Summary
AVG_FILE_CCN_RATIO
           
NUMBER_OF_CCN_VIOLATED_FUNCTION
           
TOT_CCN_RATIO
           
UMBER_OF_NCSS_VIOLATED_FUNCTION
           
 
Method Summary
static CppNCSSHealthMetrics valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CppNCSSHealthMetrics[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hudson.plugins.helpers.health.HealthMetric
getBest, getName, getWorst, measure, measureNew
 

Enum Constant Detail

TOT_CCN_RATIO

public static final CppNCSSHealthMetrics TOT_CCN_RATIO

AVG_FILE_CCN_RATIO

public static final CppNCSSHealthMetrics AVG_FILE_CCN_RATIO

NUMBER_OF_CCN_VIOLATED_FUNCTION

public static final CppNCSSHealthMetrics NUMBER_OF_CCN_VIOLATED_FUNCTION

UMBER_OF_NCSS_VIOLATED_FUNCTION

public static final CppNCSSHealthMetrics UMBER_OF_NCSS_VIOLATED_FUNCTION
Method Detail

values

public static CppNCSSHealthMetrics[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CppNCSSHealthMetrics c : CppNCSSHealthMetrics.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CppNCSSHealthMetrics valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2009. All Rights Reserved.