Class ViolatedRestriction.Details
Class ViolatedRestriction.Details
- java.lang.Object
-
- com.here.sdk.routing.ViolatedRestriction.Details
-
- Enclosing class:
- ViolatedRestriction
public static final class ViolatedRestriction.Details extends java.lang.ObjectOptional restriction details, contains additional information depending on the specific violation, zero or more member might be set. For example, if the vehicle violates the maximum allowed height during the trip, then the member
max_height_in_centimeterswill be set with the maximum allowed height value.
-
-
Field Summary
Fields Modifier and Type Field Description IntegerRangeforbiddenAxleCountThe restriction to trucks with axles number within specified range during the trip.java.util.List<HazardousMaterial>forbiddenHazardousGoodsThere are two lists for our trip: Hazardous goods restrictions applied during the trip, and the list used for the route calculation provided usingTruckOptions.hazardousMaterials.IntegerRangeforbiddenTrailerCountConstrains the restriction to trucks with number of trailer within specified range during the trip.TruckCategoryforbiddenTruckCategoryThis property will be set if a restriction applies to the value ofTruckCategoryparameter used for route calculation.java.util.List<TruckRoadType>forbiddenTruckRoadTypesContains violated restrictions for truck road types.TruckTypeforbiddenTruckTypeDeprecated.Will be removed in v4.27.0.java.lang.IntegermaxHeightInCentimetersMax permitted height during the trip, in centimeters.java.lang.IntegermaxLengthInCentimetersMax permitted length during the trip, in centimeters.java.lang.IntegermaxNumberOfTiresContains the maximum permitted number of tires.java.lang.IntegermaxPayloadCapacityInKilogramsMax permitted payload capacity during the trip, in kilograms.TunnelCategorymaxTunnelCategoryTunnel category to restrict transport of specific goods during the trip.VehicleRestrictionMaxWeightmaxWeightMax permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.MaxAxleGroupWeightmaxWeightPerAxleGroupInKilogramsMax permitted weight per axle group during the trip, in kilograms.java.lang.IntegermaxWeightPerAxleInKilogramsMax permitted weight per axle during the trip, in kilograms.java.lang.IntegermaxWidthInCentimetersMax permitted width during the trip, in centimeters.java.lang.StringroutingZoneReferenceContains the restricted routing zone reference This property will be set if theAvoidanceOptions.zoneCategoriesis not emptyTimeRuletimeRuleTime intervals during which restrictions are enforced.
-
Constructor Summary
Constructors Constructor Description Details()Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
maxWeightPerAxleInKilograms
@Nullable public java.lang.Integer maxWeightPerAxleInKilograms
Max permitted weight per axle during the trip, in kilograms. This property will be set if the
TruckSpecifications.weightPerAxleInKilogramsexceeds this value.
-
maxWeightPerAxleGroupInKilograms
@Nullable public MaxAxleGroupWeight maxWeightPerAxleGroupInKilograms
Max permitted weight per axle group during the trip, in kilograms. This property will be set if the
TruckSpecifications.weightPerAxleGroupexceeds this value.
-
maxHeightInCentimeters
@Nullable public java.lang.Integer maxHeightInCentimeters
Max permitted height during the trip, in centimeters. This property will be set if the
TruckSpecifications.heightInCentimetersexceeds this value.
-
maxWidthInCentimeters
@Nullable public java.lang.Integer maxWidthInCentimeters
Max permitted width during the trip, in centimeters. This property will be set if the
TruckSpecifications.widthInCentimetersexceeds this value.
-
maxLengthInCentimeters
@Nullable public java.lang.Integer maxLengthInCentimeters
Max permitted length during the trip, in centimeters. This property will be set if the
TruckSpecifications.lengthInCentimetersexceeds this value.
-
forbiddenAxleCount
@Nullable public IntegerRange forbiddenAxleCount
The restriction to trucks with axles number within specified range during the trip. This property will be set if the
TruckSpecifications.axleCountis within this range.
-
forbiddenTrailerCount
@Nullable public IntegerRange forbiddenTrailerCount
Constrains the restriction to trucks with number of trailer within specified range during the trip. This property will be set if the
TruckSpecifications.trailerCountis within this range.
-
forbiddenHazardousGoods
@NonNull public java.util.List<HazardousMaterial> forbiddenHazardousGoods
There are two lists for our trip: Hazardous goods restrictions applied during the trip, and the list used for the route calculation provided using
TruckOptions.hazardousMaterials. This property is the intersection of the two lists.Note
RoadSignWarningevents andRouteViolationsare only given for violations that are indicated on a road sign. Additional legal restrictions might apply when transporting hazardous materials.
-
maxTunnelCategory
@Nullable public TunnelCategory maxTunnelCategory
Tunnel category to restrict transport of specific goods during the trip. This property will be set if the
TruckOptions.linkTunnelCategoryexceeds this value.
-
forbiddenTruckType
@Deprecated @Nullable public TruckType forbiddenTruckType
Deprecated.Will be removed in v4.27.0. Use
forbidden_truck_categoryinstead.This property will be set if a restriction applies to the value of
TruckTypeparameter used for route calculation.
-
forbiddenTruckCategory
@Nullable public TruckCategory forbiddenTruckCategory
This property will be set if a restriction applies to the value of
TruckCategoryparameter used for route calculation.
-
forbiddenTruckRoadTypes
@NonNull public java.util.List<TruckRoadType> forbiddenTruckRoadTypes
Contains violated restrictions for truck road types.
-
routingZoneReference
@Nullable public java.lang.String routingZoneReference
Contains the restricted routing zone reference This property will be set if the
AvoidanceOptions.zoneCategoriesis not empty
-
maxPayloadCapacityInKilograms
@Nullable public java.lang.Integer maxPayloadCapacityInKilograms
Max permitted payload capacity during the trip, in kilograms. This property will be set if the
TruckSpecifications.payloadCapacityInKilogramsexceeds this value.
-
timeRule
@Nullable public TimeRule timeRule
Time intervals during which restrictions are enforced.
-
maxWeight
@Nullable public VehicleRestrictionMaxWeight maxWeight
Max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction. This property will be set if the
TruckSpecifications.grossWeightInKilogramsparameter used for route calculation exceeds this value.
-
maxNumberOfTires
@Nullable public java.lang.Integer maxNumberOfTires
Contains the maximum permitted number of tires. This property will be set if the
VehicleSpecification.tiresCountexceeds the specified value.
-
-