Enum TransitIncidentType
Package com.here.sdk.routing
Enum TransitIncidentType
- java.lang.Object
-
- java.lang.Enum<TransitIncidentType>
-
- com.here.sdk.routing.TransitIncidentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TransitIncidentType>
public enum TransitIncidentType extends java.lang.Enum<TransitIncidentType>
Transit incident type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCIDENTAccidentCONSTRUCTIONConstructionDEMONSTRATIONDemostrationHOLIDAYHolidayMAINTENANCEMaintenanceMEDICAL_EMERGENCYMedical emergencyPOLICE_ACTIVITYPolice activitySTRIKEStrikeTECHNICAL_PROBLEMTechnical problem.WEATHERWeather
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransitIncidentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TransitIncidentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TECHNICAL_PROBLEM
public static final TransitIncidentType TECHNICAL_PROBLEM
Technical problem.
-
STRIKE
public static final TransitIncidentType STRIKE
Strike
-
DEMONSTRATION
public static final TransitIncidentType DEMONSTRATION
Demostration
-
ACCIDENT
public static final TransitIncidentType ACCIDENT
Accident
-
HOLIDAY
public static final TransitIncidentType HOLIDAY
Holiday
-
WEATHER
public static final TransitIncidentType WEATHER
Weather
-
MAINTENANCE
public static final TransitIncidentType MAINTENANCE
Maintenance
-
CONSTRUCTION
public static final TransitIncidentType CONSTRUCTION
Construction
-
POLICE_ACTIVITY
public static final TransitIncidentType POLICE_ACTIVITY
Police activity
-
MEDICAL_EMERGENCY
public static final TransitIncidentType MEDICAL_EMERGENCY
Medical emergency
-
-
Method Detail
-
values
public static TransitIncidentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TransitIncidentType c : TransitIncidentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransitIncidentType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-