Enum MetricLevel

java.lang.Object
java.lang.Enum<MetricLevel>
org.gmetrics.metric.MetricLevel
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, Comparable<MetricLevel>

public enum MetricLevel extends Enum<MetricLevel> implements groovy.lang.GroovyObject
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • MetricLevel

      private MetricLevel()
  • Method Details

    • values

      public static MetricLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MetricLevel valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
    • getName

      public final String getName()
    • parse

      public static MetricLevel parse(String name)
    • parseCommaSeparatedList

      public static List<MetricLevel> parseCommaSeparatedList(String names)
    • getNames

      public static List getNames()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<MetricLevel>
    • next

      public MetricLevel next()
    • previous

      public MetricLevel previous()
    • $INIT

      public static final MetricLevel $INIT(Object... para)