Class TrafficIncidentsQueryOptions

  • java.lang.Object
    • com.here.sdk.traffic.TrafficIncidentsQueryOptions

  • public final class TrafficIncidentsQueryOptions
    extends java.lang.Object

    The options to specify how incidents should be queried.

    • Field Detail

      • typeFilter

        @NonNull
        public java.util.List<TrafficIncidentType> typeFilter

        The list of incident types to be queried. If the list is empty, all types will be queried.

      • impactFilter

        @NonNull
        public java.util.List<TrafficIncidentImpact> impactFilter

        The list of incident impacts to be queried. If the list is empty, all incident impacts will be queried.

      • earliestStartTime

        @Nullable
        public java.util.Date earliestStartTime

        The earliest start time of incidents to be queried. If the value is null filtering by the earliest start time is not applied.

      • latestEndTime

        @Nullable
        public java.util.Date latestEndTime

        The latest end time of incidents to be queried. If the value is null filtering by the latest end time is not applied.

    • Constructor Detail

      • TrafficIncidentsQueryOptions

        public TrafficIncidentsQueryOptions()

        Creates a new instance with default values.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object