public static enum RideQuery.StatusFilter extends Enum<RideQuery.StatusFilter>
Enum Constant and Description |
---|
ALL
All rides.
|
FUTURE
Prebooked rides, up to 30 minutes before arrival time.
|
ONGOING
Ongoing rides.
|
PAST
Finished rides (includes the statuses: COMPLETED, REJECTED or CANCELLED) for the last 72 hours.
|
Modifier and Type | Method and Description |
---|---|
static RideQuery.StatusFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RideQuery.StatusFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RideQuery.StatusFilter PAST
public static final RideQuery.StatusFilter FUTURE
public static final RideQuery.StatusFilter ONGOING
public static final RideQuery.StatusFilter ALL
public static RideQuery.StatusFilter[] values()
for (RideQuery.StatusFilter c : RideQuery.StatusFilter.values()) System.out.println(c);
public static RideQuery.StatusFilter 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