Class IncidentAlert
-
- All Implemented Interfaces:
public final class IncidentAlert extends RouteAlert
Incident alert provides information about incidents on a way like congestion, mass transit, etc. More types of incidents see IncidentType.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIncidentAlert.BuilderUse to create a new instance.
-
Field Summary
Fields Modifier and Type Field Description private final IncidentInfoinfoprivate final IntegeralertTypeprivate final Pointcoordinateprivate final Doubledistanceprivate final RouteAlertGeometryalertGeometry
-
Method Summary
Modifier and Type Method Description final IncidentInfogetInfo()final IncidentAlert.BuildertoBuilder()Transform this object into a builder to mutate the values. Booleanequals(Object other)Indicates whether some other object is "equal to" this one. IntegerhashCode()Returns a hash code value for the object. StringtoString()Returns a string representation of the object.
-
-
-
Method Detail
-
getInfo
final IncidentInfo getInfo()
-
toBuilder
final IncidentAlert.Builder toBuilder()
Transform this object into a builder to mutate the values.
-
-