Package org.jboss.jca.as.tracer
Enum TraceEventStatus
- java.lang.Object
-
- java.lang.Enum<TraceEventStatus>
-
- org.jboss.jca.as.tracer.TraceEventStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TraceEventStatus>
public enum TraceEventStatus extends Enum<TraceEventStatus>
Trace event status
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColor()Get the colorStringgetDescription()Get the descriptionstatic TraceEventStatusvalueOf(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.
-
-
-
Enum Constant Detail
-
GREEN
public static final TraceEventStatus GREEN
Green
-
YELLOW
public static final TraceEventStatus YELLOW
Yellow
-
RED
public static final TraceEventStatus RED
Red
-
-
Method Detail
-
values
public static TraceEventStatus[] 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 (TraceEventStatus c : TraceEventStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraceEventStatus 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 nameNullPointerException- if the argument is null
-
getDescription
public String getDescription()
Get the description- Returns:
- The value
-
getColor
public String getColor()
Get the color- Returns:
- The value
-
-