hudson.plugins.rubyMetrics.railsStats.model
Enum RailsStatsMetrics

java.lang.Object
  extended by java.lang.Enum<RailsStatsMetrics>
      extended by hudson.plugins.rubyMetrics.railsStats.model.RailsStatsMetrics
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RailsStatsMetrics>

public enum RailsStatsMetrics
extends java.lang.Enum<RailsStatsMetrics>


Nested Class Summary
static class RailsStatsMetrics.COMPARATOR
           
 
Enum Constant Summary
CLASSES
           
LINES
           
LOC
           
LOC_M
           
M_C
           
METHODS
           
 
Method Summary
 int getOrder()
           
 java.lang.String prettyPrint()
           
static RailsStatsMetrics toRailsStatsMetrics(java.lang.String name)
           
static RailsStatsMetrics valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RailsStatsMetrics[] 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
 

Enum Constant Detail

LINES

public static final RailsStatsMetrics LINES

LOC

public static final RailsStatsMetrics LOC

CLASSES

public static final RailsStatsMetrics CLASSES

METHODS

public static final RailsStatsMetrics METHODS

M_C

public static final RailsStatsMetrics M_C

LOC_M

public static final RailsStatsMetrics LOC_M
Method Detail

values

public static RailsStatsMetrics[] 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 (RailsStatsMetrics c : RailsStatsMetrics.values())
    System.out.println(c);

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

valueOf

public static RailsStatsMetrics 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

prettyPrint

public java.lang.String prettyPrint()

toRailsStatsMetrics

public static RailsStatsMetrics toRailsStatsMetrics(java.lang.String name)

getOrder

public int getOrder()


Copyright © 2009. All Rights Reserved.