Package com.securenative.actions
Enum ApiRoute
- java.lang.Object
-
- java.lang.Enum<ApiRoute>
-
- com.securenative.actions.ApiRoute
-
- All Implemented Interfaces:
Serializable,Comparable<ApiRoute>,java.lang.constant.Constable
public enum ApiRoute extends Enum<ApiRoute>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
-
-
Enum Constant Detail
-
LOGIN
public static final ApiRoute LOGIN
-
LOGOUT
public static final ApiRoute LOGOUT
-
ERROR
public static final ApiRoute ERROR
-
CONFIG
public static final ApiRoute CONFIG
-
HEARTBEAT
public static final ApiRoute HEARTBEAT
-
TRACK
public static final ApiRoute TRACK
-
VERIFY
public static final ApiRoute VERIFY
-
RISK
public static final ApiRoute RISK
-
-
Method Detail
-
values
public static ApiRoute[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiRoute 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
-
getRoute
public String getRoute()
-
-