Enum SectionNoticeCode
Enum SectionNoticeCode
- java.lang.Object
-
- java.lang.Enum<SectionNoticeCode>
-
- com.here.sdk.routing.SectionNoticeCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SectionNoticeCode>
public enum SectionNoticeCode extends java.lang.Enum<SectionNoticeCode>
Notice codes which point the issues encountered during processing of a
Section.Note: The section notice codes are going to be extended for new error situations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARGING_STOP_NOT_NEEDEDA charging stop was planned at the destination of this section, but it is no longer needed.NO_INTERMEDIATEInformation about intermediate stops is not available for a transit section.NO_SCHEDULENo schedule information is available for a transit section.NO_THROUGH_RESTRICTIONRoute goes through a road that does not allow through traffic.POTENTIAL_CARPOOLRoute utilizes a designated carpool lane, potentially subject to restrictions beyond the scheduled travel hours.POTENTIAL_TURN_RESTRICTIONRoute includes a turn that is potentially restricted and inaccessible beyond the scheduled travel hours.POTENTIAL_VEHICLE_RESTRICTIONRoute utilizes roads that are potentially off-limits to the specified vehicle profile beyond the scheduled travel hours.POTENTIAL_ZONE_RESTRICTIONRoute incorporates roads within zones, which are potentially not accessible beyond the scheduled travel hours.SCHEDULED_TIMESThis transit section returned times which are scheduled times, even though delay information is available.SEASONAL_CLOSURERoute goes through seasonal closure.SIMPLE_POLYLINEAn accurate polyline is not available for this section.TOLL_TRANSPONDERRoute goes through toll booth that requires transponder.TOLLS_DATA_TEMPORARILY_UNAVAILABLETolls data was requested but is temporarily unavailable.TOLLS_DATA_UNAVAILABLETolls data was requested but could not be calculated for this section.UNWANTED_MODEThis transit section contains a transport mode that was explictly disabled.VIOLATED_AVOID_CONTROLLED_ACCESS_HIGHWAYRoute did not manage to avoid user preference.VIOLATED_AVOID_DIFFICULT_TURNSRoute did not manage to avoid difficult turns.VIOLATED_AVOID_DIRT_ROADRoute did not manage to avoid user preference.VIOLATED_AVOID_FERRYRoute did not manage to avoid user preference.VIOLATED_AVOID_PARKRoute did not manage to avoid user preference.VIOLATED_AVOID_RAIL_FERRYRoute did not manage to avoid user preference.VIOLATED_AVOID_SEASONAL_CLOSURERoute did not manage to avoid seasonal closure.VIOLATED_AVOID_TOLL_ROADRoute did not manage to avoid user preference.VIOLATED_AVOID_TOLL_TRANSPONDERRoute did not manage to avoid toll booth that requires transponder.VIOLATED_AVOID_TRUCK_ROAD_TYPERoute did not manage to avoid restricted truck road types.VIOLATED_AVOID_TUNNELRoute did not manage to avoid user preference.VIOLATED_AVOID_U_TURNSRoute did not manage to avoid u turns.VIOLATED_BLOCKED_ROADRoute uses roads blocked by traffic events or route did not manage to avoid the requestedavoidBoundingBoxAreasorcountriesorsegments.VIOLATED_CARPOOLRoute did not manage to avoid user preference.VIOLATED_CHARGING_STATION_OPENING_HOURSCharging at the charging station planned at the destination of this section falls outside of opening hours.VIOLATED_CRITICAL_RULERoute has violoated a non-detailed critical rule.VIOLATED_EMERGENCY_GATERoute goes through an emergency gate.VIOLATED_MIN_CHARGE_AT_CSThe route can not reach all charging stations on the route with the minimum required charge, as the initial charge was to low.VIOLATED_MIN_CHARGE_AT_DESTINATIONThe route can not reach the waypoint, as the there are not enough charging stops available or the initial charge was to low.VIOLATED_MIN_CHARGE_AT_FIRST_CSThe route can not reach the first charging station with the minimum required charge, as the initial charge was to low.VIOLATED_START_DIRECTIONStart direction of the route is not as requested.VIOLATED_TURN_RESTRICTIONRoute uses a time-restricted turn.VIOLATED_VEHICLE_RESTRICTIONRoute uses a road which is forbidden for the given vehicle profile.VIOLATED_ZONE_RESTRICTIONRoute uses a road which is part of restrictedzoneCategoriesrequested to be avoided by user.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SectionNoticeCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SectionNoticeCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIOLATED_CRITICAL_RULE
public static final SectionNoticeCode VIOLATED_CRITICAL_RULE
Route has violoated a non-detailed critical rule. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_CONTROLLED_ACCESS_HIGHWAY
public static final SectionNoticeCode VIOLATED_AVOID_CONTROLLED_ACCESS_HIGHWAY
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_TOLL_ROAD
public static final SectionNoticeCode VIOLATED_AVOID_TOLL_ROAD
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_FERRY
public static final SectionNoticeCode VIOLATED_AVOID_FERRY
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_TUNNEL
public static final SectionNoticeCode VIOLATED_AVOID_TUNNEL
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_DIRT_ROAD
public static final SectionNoticeCode VIOLATED_AVOID_DIRT_ROAD
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_RAIL_FERRY
public static final SectionNoticeCode VIOLATED_AVOID_RAIL_FERRY
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_PARK
public static final SectionNoticeCode VIOLATED_AVOID_PARK
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_BLOCKED_ROAD
public static final SectionNoticeCode VIOLATED_BLOCKED_ROAD
Route uses roads blocked by traffic events or route did not manage to avoid the requested
avoidBoundingBoxAreasorcountriesorsegments. Severity:NoticeSeverity.CRITICAL.
-
VIOLATED_START_DIRECTION
public static final SectionNoticeCode VIOLATED_START_DIRECTION
Start direction of the route is not as requested. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_CARPOOL
public static final SectionNoticeCode VIOLATED_CARPOOL
Route did not manage to avoid user preference. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_TURN_RESTRICTION
public static final SectionNoticeCode VIOLATED_TURN_RESTRICTION
Route uses a time-restricted turn. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_VEHICLE_RESTRICTION
public static final SectionNoticeCode VIOLATED_VEHICLE_RESTRICTION
Route uses a road which is forbidden for the given vehicle profile. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_ZONE_RESTRICTION
public static final SectionNoticeCode VIOLATED_ZONE_RESTRICTION
Route uses a road which is part of restricted
zoneCategoriesrequested to be avoided by user. Severity:NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_U_TURNS
public static final SectionNoticeCode VIOLATED_AVOID_U_TURNS
Route did not manage to avoid u turns. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_EMERGENCY_GATE
public static final SectionNoticeCode VIOLATED_EMERGENCY_GATE
Route goes through an emergency gate. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_SEASONAL_CLOSURE
public static final SectionNoticeCode VIOLATED_AVOID_SEASONAL_CLOSURE
Route did not manage to avoid seasonal closure. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_TRUCK_ROAD_TYPE
public static final SectionNoticeCode VIOLATED_AVOID_TRUCK_ROAD_TYPE
Route did not manage to avoid restricted truck road types.
-
VIOLATED_AVOID_TOLL_TRANSPONDER
public static final SectionNoticeCode VIOLATED_AVOID_TOLL_TRANSPONDER
Route did not manage to avoid toll booth that requires transponder. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_CHARGING_STATION_OPENING_HOURS
public static final SectionNoticeCode VIOLATED_CHARGING_STATION_OPENING_HOURS
Charging at the charging station planned at the destination of this section falls outside of opening hours. Severity:
NoticeSeverity.CRITICAL.
-
VIOLATED_AVOID_DIFFICULT_TURNS
public static final SectionNoticeCode VIOLATED_AVOID_DIFFICULT_TURNS
Route did not manage to avoid difficult turns. Severity:
NoticeSeverity.CRITICAL.
-
SEASONAL_CLOSURE
public static final SectionNoticeCode SEASONAL_CLOSURE
Route goes through seasonal closure. Severity:
NoticeSeverity.INFO.
-
TOLL_TRANSPONDER
public static final SectionNoticeCode TOLL_TRANSPONDER
Route goes through toll booth that requires transponder. Severity:
NoticeSeverity.INFO.
-
TOLLS_DATA_UNAVAILABLE
public static final SectionNoticeCode TOLLS_DATA_UNAVAILABLE
Tolls data was requested but could not be calculated for this section. Severity:
NoticeSeverity.INFO.
-
TOLLS_DATA_TEMPORARILY_UNAVAILABLE
public static final SectionNoticeCode TOLLS_DATA_TEMPORARILY_UNAVAILABLE
Tolls data was requested but is temporarily unavailable. Severity:
NoticeSeverity.INFO.
-
CHARGING_STOP_NOT_NEEDED
public static final SectionNoticeCode CHARGING_STOP_NOT_NEEDED
A charging stop was planned at the destination of this section, but it is no longer needed. It may be issued only when refreshing a route via
RouteHandle. Severity:NoticeSeverity.INFO.
-
NO_SCHEDULE
public static final SectionNoticeCode NO_SCHEDULE
No schedule information is available for a transit section. As a result, departure/arrival times are approximated. Severity:
NoticeSeverity.INFO.
-
NO_INTERMEDIATE
public static final SectionNoticeCode NO_INTERMEDIATE
Information about intermediate stops is not available for a transit section. Severity:
NoticeSeverity.INFO.
-
UNWANTED_MODE
public static final SectionNoticeCode UNWANTED_MODE
This transit section contains a transport mode that was explictly disabled. Mode filtering is not available in this area. Severity:
NoticeSeverity.INFO.
-
SCHEDULED_TIMES
public static final SectionNoticeCode SCHEDULED_TIMES
This transit section returned times which are scheduled times, even though delay information is available. Severity:
NoticeSeverity.INFO.
-
SIMPLE_POLYLINE
public static final SectionNoticeCode SIMPLE_POLYLINE
An accurate polyline is not available for this section. An accurate polyline is not available for this section. The returned polyline has been generated from departure and arrival places. Severity:
NoticeSeverity.INFO.
-
POTENTIAL_CARPOOL
public static final SectionNoticeCode POTENTIAL_CARPOOL
Route utilizes a designated carpool lane, potentially subject to restrictions beyond the scheduled travel hours. Severity:
NoticeSeverity.INFO.
-
POTENTIAL_TURN_RESTRICTION
public static final SectionNoticeCode POTENTIAL_TURN_RESTRICTION
Route includes a turn that is potentially restricted and inaccessible beyond the scheduled travel hours. Severity:
NoticeSeverity.INFO.
-
POTENTIAL_VEHICLE_RESTRICTION
public static final SectionNoticeCode POTENTIAL_VEHICLE_RESTRICTION
Route utilizes roads that are potentially off-limits to the specified vehicle profile beyond the scheduled travel hours. Severity:
NoticeSeverity.INFO.
-
POTENTIAL_ZONE_RESTRICTION
public static final SectionNoticeCode POTENTIAL_ZONE_RESTRICTION
Route incorporates roads within zones, which are potentially not accessible beyond the scheduled travel hours. Severity:
NoticeSeverity.INFO.
-
VIOLATED_MIN_CHARGE_AT_FIRST_CS
public static final SectionNoticeCode VIOLATED_MIN_CHARGE_AT_FIRST_CS
The route can not reach the first charging station with the minimum required charge, as the initial charge was to low.
-
VIOLATED_MIN_CHARGE_AT_CS
public static final SectionNoticeCode VIOLATED_MIN_CHARGE_AT_CS
The route can not reach all charging stations on the route with the minimum required charge, as the initial charge was to low.
-
VIOLATED_MIN_CHARGE_AT_DESTINATION
public static final SectionNoticeCode VIOLATED_MIN_CHARGE_AT_DESTINATION
The route can not reach the waypoint, as the there are not enough charging stops available or the initial charge was to low.
-
NO_THROUGH_RESTRICTION
public static final SectionNoticeCode NO_THROUGH_RESTRICTION
Route goes through a road that does not allow through traffic.
-
-
Method Detail
-
values
public static SectionNoticeCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SectionNoticeCode c : SectionNoticeCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SectionNoticeCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-