public static enum AddeThread.McservEvent extends java.lang.Enum<AddeThread.McservEvent>
| Enum Constant and Description |
|---|
ACTIVE
Mcservl is actively listening.
|
DIED
Mcservl has died unexpectedly.
|
STARTED
Mcservl started listening.
|
STOPPED
Mcservl has stopped listening.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
message |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
static AddeThread.McservEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddeThread.McservEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddeThread.McservEvent ACTIVE
public static final AddeThread.McservEvent DIED
public static final AddeThread.McservEvent STARTED
public static final AddeThread.McservEvent STOPPED
private final java.lang.String message
public static AddeThread.McservEvent[] values()
for (AddeThread.McservEvent c : AddeThread.McservEvent.values()) System.out.println(c);
public static AddeThread.McservEvent 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 getMessage()