public static enum RouteResult.ViolatedOption extends java.lang.Enum<RouteResult.ViolatedOption>
Enum Constant and Description |
---|
AVOID_CAR_SHUTTLE_TRAINS
The route uses rail ferries although AVOID_CARSHUTTLETRAINS was false.
|
AVOID_DIRT_ROADS
The route uses dirt roads although ALLOW_DIRTROADS was false.
|
AVOID_FERRIES
The route uses ferries although ALLOW_FERRIES was false.
|
AVOID_HIGHWAYS
The route uses highways although ALLOW_HIGHWAYS was false.
|
AVOID_PARKS
The route uses paths through parks although ALLOW_PARKS was false.
|
AVOID_TOLL_ROADS
The route uses toll roads although ALLOW_TOLLROADS was false.
|
AVOID_TUNNELS
The route uses tunnels although ALLOW_TUNNELS was false.
|
BLOCKED_ROADS
The route uses roads which were blocked by dynamic penalties.
|
CARPOOL
The route uses CARPOOL streets even though it is disabled in the options
|
START_DIRECTION
The route's start direction is not as requested.
|
TIME_RESTRICTED_TURN
The route uses a time-restricted turn
|
Modifier and Type | Method and Description |
---|---|
static RouteResult.ViolatedOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteResult.ViolatedOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteResult.ViolatedOption AVOID_HIGHWAYS
public static final RouteResult.ViolatedOption AVOID_TOLL_ROADS
public static final RouteResult.ViolatedOption AVOID_FERRIES
public static final RouteResult.ViolatedOption AVOID_TUNNELS
public static final RouteResult.ViolatedOption AVOID_DIRT_ROADS
public static final RouteResult.ViolatedOption AVOID_CAR_SHUTTLE_TRAINS
public static final RouteResult.ViolatedOption AVOID_PARKS
public static final RouteResult.ViolatedOption BLOCKED_ROADS
public static final RouteResult.ViolatedOption START_DIRECTION
public static final RouteResult.ViolatedOption CARPOOL
public static final RouteResult.ViolatedOption TIME_RESTRICTED_TURN
public static RouteResult.ViolatedOption[] values()
for (RouteResult.ViolatedOption c : RouteResult.ViolatedOption.values()) System.out.println(c);
public static RouteResult.ViolatedOption 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 null