Package es.situm.wayfinding.navigation
Enum Navigation.Status
- java.lang.Object
-
- java.lang.Enum<Navigation.Status>
-
- es.situm.wayfinding.navigation.Navigation.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Navigation.Status>
- Enclosing interface:
- Navigation
public static enum Navigation.Status extends Enum<Navigation.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELED
DESTINATION_REACHED
ERROR
REQUESTED
STARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Navigation.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Navigation.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUESTED
public static final Navigation.Status REQUESTED
-
STARTED
public static final Navigation.Status STARTED
-
ERROR
public static final Navigation.Status ERROR
-
DESTINATION_REACHED
public static final Navigation.Status DESTINATION_REACHED
-
CANCELED
public static final Navigation.Status CANCELED
-
-
Method Detail
-
values
public static Navigation.Status[] 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 (Navigation.Status c : Navigation.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Navigation.Status 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
-
-