public enum TraceEventStatus extends java.lang.Enum<TraceEventStatus>
Enum Constant and Description |
---|
GREEN
Green
|
RED
Red
|
YELLOW
Yellow
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColor()
Get the color
|
java.lang.String |
getDescription()
Get the description
|
static TraceEventStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraceEventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceEventStatus GREEN
public static final TraceEventStatus YELLOW
public static final TraceEventStatus RED
public static TraceEventStatus[] values()
for (TraceEventStatus c : TraceEventStatus.values()) System.out.println(c);
public static TraceEventStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDescription()
public java.lang.String getColor()
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)