public static enum WebsocketPassengerEvent.PassengerStatus extends java.lang.Enum<WebsocketPassengerEvent.PassengerStatus>
Enum Constant and Description |
---|
DONE |
FAIL |
IDLE |
REQUESTING |
RIDING |
WAITING_FOR_RIDE_TO_START |
Modifier and Type | Method and Description |
---|---|
static WebsocketPassengerEvent.PassengerStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebsocketPassengerEvent.PassengerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebsocketPassengerEvent.PassengerStatus IDLE
public static final WebsocketPassengerEvent.PassengerStatus REQUESTING
public static final WebsocketPassengerEvent.PassengerStatus WAITING_FOR_RIDE_TO_START
public static final WebsocketPassengerEvent.PassengerStatus FAIL
public static final WebsocketPassengerEvent.PassengerStatus RIDING
public static final WebsocketPassengerEvent.PassengerStatus DONE
public static WebsocketPassengerEvent.PassengerStatus[] values()
for (WebsocketPassengerEvent.PassengerStatus c : WebsocketPassengerEvent.PassengerStatus.values()) System.out.println(c);
public static WebsocketPassengerEvent.PassengerStatus 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 nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.