public static enum Incident.IncidentType extends Enum<Incident.IncidentType>
Incident
.Enum Constant and Description |
---|
ACCIDENT
Accident.
|
CONGESTION
Flow.
|
CONSTRUCTION
Construction.
|
DANGEROUS_SLOWDOWN
Dangerous Slowdown.
|
EVENT
Event.
|
HAZARD
Hazard.
|
LANE_CLOSURE
Lane closure.
|
POLICE
Police.
|
ROAD_CLOSURE
Road closure.
|
UNKNOWN
Unknown.
|
WEATHER
Weather.
|
Modifier and Type | Method and Description |
---|---|
static Incident.IncidentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Incident.IncidentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Incident.IncidentType CONSTRUCTION
public static final Incident.IncidentType EVENT
public static final Incident.IncidentType CONGESTION
public static final Incident.IncidentType ACCIDENT
public static final Incident.IncidentType POLICE
public static final Incident.IncidentType ROAD_CLOSURE
public static final Incident.IncidentType LANE_CLOSURE
public static final Incident.IncidentType HAZARD
public static final Incident.IncidentType WEATHER
public static final Incident.IncidentType DANGEROUS_SLOWDOWN
public static final Incident.IncidentType UNKNOWN
public static Incident.IncidentType[] values()
for (Incident.IncidentType c : Incident.IncidentType.values()) System.out.println(c);
public static Incident.IncidentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013-2018 INRIX, Inc. All Rights Reserved.