Enum SectionNoticeCode

  • java.lang.Object
  • 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 Detail

      • 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_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 avoidBoundingBoxAreas or countries or segments. 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 zoneCategories requested to be avoided by user. 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.

      • 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 name
        java.lang.NullPointerException - if the argument is null