Enum TransitIncidentEffect
Package com.here.sdk.routing
Enum TransitIncidentEffect
- java.lang.Object
-
- java.lang.Enum<TransitIncidentEffect>
-
- com.here.sdk.routing.TransitIncidentEffect
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TransitIncidentEffect>
public enum TransitIncidentEffect extends java.lang.Enum<TransitIncidentEffect>
Transit incident effect.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_SERVICEAdditional serviceCANCELLED_SERVICECancelled serviceDELAYSDelaysDETOURDetourMODIFIED_SERVICEModified serviceREDUCED_SERVICEReduced serviceSTOP_MOVEDStop moved
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransitIncidentEffectvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TransitIncidentEffect[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELLED_SERVICE
public static final TransitIncidentEffect CANCELLED_SERVICE
Cancelled service
-
REDUCED_SERVICE
public static final TransitIncidentEffect REDUCED_SERVICE
Reduced service
-
ADDITIONAL_SERVICE
public static final TransitIncidentEffect ADDITIONAL_SERVICE
Additional service
-
MODIFIED_SERVICE
public static final TransitIncidentEffect MODIFIED_SERVICE
Modified service
-
DELAYS
public static final TransitIncidentEffect DELAYS
Delays
-
DETOUR
public static final TransitIncidentEffect DETOUR
Detour
-
STOP_MOVED
public static final TransitIncidentEffect STOP_MOVED
Stop moved
-
-
Method Detail
-
values
public static TransitIncidentEffect[] 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 (TransitIncidentEffect c : TransitIncidentEffect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransitIncidentEffect 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
-
-