Enum TripErrorType
- java.lang.Object
-
- java.lang.Enum<TripErrorType>
-
- global.maplink.trip.schema.v1.exception.TripErrorType
-
- All Implemented Interfaces:
ValidationViolation,Serializable,Comparable<TripErrorType>
public enum TripErrorType extends Enum<TripErrorType> implements ValidationViolation
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static TripErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TripErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUTE_POINTS_LESS_THAN_TWO
public static final TripErrorType ROUTE_POINTS_LESS_THAN_TWO
-
VARIABLE_AXLES_FROMSITEID_EMPTY
public static final TripErrorType VARIABLE_AXLES_FROMSITEID_EMPTY
-
VARIABLE_AXLES_TOSITEID_EMPTY
public static final TripErrorType VARIABLE_AXLES_TOSITEID_EMPTY
-
VARIABLE_AXLES_FROMSITEID_POINTING_TO_LAST_SITE
public static final TripErrorType VARIABLE_AXLES_FROMSITEID_POINTING_TO_LAST_SITE
-
TOSITEID_BEFORE_FROMSITEID
public static final TripErrorType TOSITEID_BEFORE_FROMSITEID
-
MISSING_NEW_VEHICLE_TYPE
public static final TripErrorType MISSING_NEW_VEHICLE_TYPE
-
MSG_CONTAINED_IN
public static final TripErrorType MSG_CONTAINED_IN
-
PROFILE_NAME_EMPTY
public static final TripErrorType PROFILE_NAME_EMPTY
-
CALCULATION_MODE_FIELD_EMPTY
public static final TripErrorType CALCULATION_MODE_FIELD_EMPTY
-
CALLBACK_DOES_NOT_HAVE_URL
public static final TripErrorType CALLBACK_DOES_NOT_HAVE_URL
-
TOLL_PARAMETERS_DOES_NOT_HAVE_VEHICLE_TYPE
public static final TripErrorType TOLL_PARAMETERS_DOES_NOT_HAVE_VEHICLE_TYPE
-
CROSSED_BORDERS_DOES_NOT_HAVE_LEVEL
public static final TripErrorType CROSSED_BORDERS_DOES_NOT_HAVE_LEVEL
-
ROAD_TYPE_ELEMENTS_EMPTY
public static final TripErrorType ROAD_TYPE_ELEMENTS_EMPTY
-
VEHICLE_SPECIFICATION_CONTAINS_NEGATIVE_VALUE
public static final TripErrorType VEHICLE_SPECIFICATION_CONTAINS_NEGATIVE_VALUE
-
TRIP_PROFILE_NOT_FOUND
public static final TripErrorType TRIP_PROFILE_NOT_FOUND
-
TURN_BY_TURN_LANGUAGE_NOT_FOUND
public static final TripErrorType TURN_BY_TURN_LANGUAGE_NOT_FOUND
-
-
Method Detail
-
values
public static TripErrorType[] 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 (TripErrorType c : TripErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TripErrorType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfaceValidationViolation
-
-