public enum EventStatus extends Enum<EventStatus>
Enum Constant and Description |
---|
End
Used to indicate the end of an event.
|
InProgress
Used to indicate that the event is in progress.
|
Start
Used to indicate the start of an event.
|
Modifier and Type | Method and Description |
---|---|
static EventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventStatus Start
public static final EventStatus InProgress
public static final EventStatus End
public static EventStatus[] values()
for (EventStatus c : EventStatus.values()) System.out.println(c);
public static EventStatus 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 null