public enum EventCode extends Enum<EventCode>
Enum Constant and Description |
---|
COMPLETE |
ERROR |
INVALID |
STARTUP |
SUCCESS |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static EventCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventCode STARTUP
public static final EventCode SUCCESS
public static final EventCode COMPLETE
public static final EventCode ERROR
public static final EventCode INVALID
public static final EventCode UPDATE
public static EventCode[] values()
for (EventCode c : EventCode.values()) System.out.println(c);
public static EventCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 ECG. All rights reserved.