Package org.gmetrics.metric
Enum MetricLevel
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Serializable
,Comparable<MetricLevel>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final MetricLevel
groovy.lang.MetaClass
final String
getName()
static List
getNames()
getProperty
(String property) invokeMethod
(String method, Object arguments) next()
static MetricLevel
static List
<MetricLevel> parseCommaSeparatedList
(String names) previous()
void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toString()
static MetricLevel
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.
-
Enum Constant Details
-
METHOD
-
CLASS
-
PACKAGE
-
-
Field Details
-
MIN_VALUE
-
MAX_VALUE
-
-
Constructor Details
-
MetricLevel
private MetricLevel()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getName
-
parse
-
parseCommaSeparatedList
-
getNames
-
toString
- Overrides:
toString
in classEnum<MetricLevel>
-
next
-
previous
-
$INIT
-