public enum IncidentIconCategory extends java.lang.Enum<IncidentIconCategory>
Enum Constant and Description |
---|
ACCIDENT
Defines that incident is related to accident.
|
CLUSTER
Defines that incident is related to cluster.
|
DANGEROUS_CONDITIONS
Defines that incident is related to dangerous conditions.
|
DETOUR
Defines that incident is related to detour.
|
FLOODING
Defines that incident is related to flooding.
|
FOG
Defines that incident is related to fog.
|
ICE
Defines that incident is related to ice.
|
JAM
Defines that incident is related to traffic jam.
|
LANE_CLOSED
Defines that incident is related to one of lanes being closed.
|
RAIN
Defines that incident is related to rain.
|
ROAD_CLOSED
Defines that incident is related to road being closed.
|
ROAD_WORKS
Defines that incident is related to road works.
|
UNKNOWN
Defines that category of incident is unknown.
|
WIND
Defines that incident is related to wind.
|
Modifier and Type | Method and Description |
---|---|
static IncidentIconCategory |
fromInt(int value)
Static method used to search trough enum and retrieve incident icon category based on passed value.
|
int |
getValue()
Getter of current incident icon category used in
fromInt(int)
for searching purposes. |
static IncidentIconCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IncidentIconCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncidentIconCategory UNKNOWN
public static final IncidentIconCategory ACCIDENT
public static final IncidentIconCategory FOG
public static final IncidentIconCategory DANGEROUS_CONDITIONS
public static final IncidentIconCategory RAIN
public static final IncidentIconCategory ICE
public static final IncidentIconCategory JAM
public static final IncidentIconCategory LANE_CLOSED
public static final IncidentIconCategory ROAD_CLOSED
public static final IncidentIconCategory ROAD_WORKS
public static final IncidentIconCategory WIND
public static final IncidentIconCategory FLOODING
public static final IncidentIconCategory DETOUR
public static final IncidentIconCategory CLUSTER
public static IncidentIconCategory[] values()
for (IncidentIconCategory c : IncidentIconCategory.values()) System.out.println(c);
public static IncidentIconCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
fromInt(int)
for searching purposes.@NonNull public static IncidentIconCategory fromInt(int value)
value
- passed that is going to be searched in enum.