Package com.mapfactor.sdk.routing
Enum Class VehiclesManager.SetActiveVehicleProfileResult
java.lang.Object
java.lang.Enum<VehiclesManager.SetActiveVehicleProfileResult>
com.mapfactor.sdk.routing.VehiclesManager.SetActiveVehicleProfileResult
- All Implemented Interfaces:
Serializable
,Comparable<VehiclesManager.SetActiveVehicleProfileResult>
,Constable
- Enclosing interface:
- VehiclesManager
public static enum VehiclesManager.SetActiveVehicleProfileResult
extends Enum<VehiclesManager.SetActiveVehicleProfileResult>
Setting active vehicle results
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFailed - unspefified reasonFailed - the vehicle ID does not existFailed - vehicle type is not licensed (i.e.Succeeded -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Succeeded- Since:
- 1.0
-
FAILED_VEHICLE_DOES_NOT_EXIST
Failed - the vehicle ID does not exist- Since:
- 1.0
-
FAILED_VEHICLE_IS_NOT_LICENSED
Failed - vehicle type is not licensed (i.e. truck)- Since:
- 1.0
-
FAILED
Failed - unspefified reason- Since:
- 1.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-