public enum MetricLevel extends Enum<MetricLevel> implements groovy.lang.GroovyObject
| Modifier and Type | Field and Description |
|---|---|
static MetricLevel |
MAX_VALUE |
static MetricLevel |
MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static MetricLevel |
$INIT(Object[] para) |
groovy.lang.MetaClass |
getMetaClass() |
String |
getName() |
static List |
getNames() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
MetricLevel |
next() |
static MetricLevel |
parse(String name) |
static List<MetricLevel> |
parseCommaSeparatedList(String names) |
MetricLevel |
previous() |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
static MetricLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricLevel METHOD
public static final MetricLevel CLASS
public static final MetricLevel PACKAGE
public static MetricLevel MIN_VALUE
public static MetricLevel MAX_VALUE
public static MetricLevel[] values()
for (MetricLevel c : MetricLevel.values()) System.out.println(c);
public static MetricLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic String getName()
public static MetricLevel parse(String name)
public static List<MetricLevel> parseCommaSeparatedList(String names)
public static List getNames()
public String toString()
toString in class Enum<MetricLevel>public MetricLevel next()
public MetricLevel previous()
public static MetricLevel $INIT(Object[] para)
Copyright © 2015. All rights reserved.