public static enum TmdStatus.Category extends java.lang.Enum<TmdStatus.Category>
Enum Constant and Description |
---|
NOT_RUNNING |
RUNNING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TmdStatus.Category |
fromValue(int value) |
int |
getValue() |
static TmdStatus.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TmdStatus.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TmdStatus.Category NOT_RUNNING
public static final TmdStatus.Category RUNNING
public static final TmdStatus.Category UNKNOWN
public static TmdStatus.Category[] values()
for (TmdStatus.Category c : TmdStatus.Category.values()) System.out.println(c);
public static TmdStatus.Category 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 int getValue()
@NonNull public static TmdStatus.Category fromValue(int value)