public static enum RouteUpdate.Type extends Enum<RouteUpdate.Type>
Route updates can either provide updated information for a route, or withdraw a previously updated route.
| Enum Constant and Description |
|---|
DELETE
The update withdraws the route, meaning any previous information is
no longer valid.
|
UPDATE
The update contains updated route information for a route.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteUpdate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteUpdate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteUpdate.Type UPDATE
public static final RouteUpdate.Type DELETE
public static RouteUpdate.Type[] values()
for (RouteUpdate.Type c : RouteUpdate.Type.values()) System.out.println(c);
public static RouteUpdate.Type 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