Enum AuthenticationEvent.AuthenticationEventType
- java.lang.Object
-
- java.lang.Enum<AuthenticationEvent.AuthenticationEventType>
-
- com.trx.neon.api.neon.model.events.AuthenticationEvent.AuthenticationEventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthenticationEvent.AuthenticationEventType>
- Enclosing class:
- AuthenticationEvent
public static enum AuthenticationEvent.AuthenticationEventType extends java.lang.Enum<AuthenticationEvent.AuthenticationEventType>
Represents a type of resource that NeonLocationService must maintain a connection with
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANDATORY_UPDATE_REQUIRED
NLS must be upgraded in order to log inNO_CREDENTIALS_SET
There are no stored credentials, start activity to login to NLSNO_INTERNET
Can't log in because there is no Internet accessOFFLINE_TRACKER
We have successfully authorized an offline trackerSUCCESS
We have successfully logged in to the NLSUNRESOLVED_AUTHENTICATION_ERROR
An error message was generated, direct user to NEON Settings page to resolve
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationEvent.AuthenticationEventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationEvent.AuthenticationEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CREDENTIALS_SET
public static final AuthenticationEvent.AuthenticationEventType NO_CREDENTIALS_SET
There are no stored credentials, start activity to login to NLS
-
MANDATORY_UPDATE_REQUIRED
public static final AuthenticationEvent.AuthenticationEventType MANDATORY_UPDATE_REQUIRED
NLS must be upgraded in order to log in
-
UNRESOLVED_AUTHENTICATION_ERROR
public static final AuthenticationEvent.AuthenticationEventType UNRESOLVED_AUTHENTICATION_ERROR
An error message was generated, direct user to NEON Settings page to resolve
-
NO_INTERNET
public static final AuthenticationEvent.AuthenticationEventType NO_INTERNET
Can't log in because there is no Internet access
-
SUCCESS
public static final AuthenticationEvent.AuthenticationEventType SUCCESS
We have successfully logged in to the NLS
-
OFFLINE_TRACKER
public static final AuthenticationEvent.AuthenticationEventType OFFLINE_TRACKER
We have successfully authorized an offline tracker
-
-
Method Detail
-
values
public static AuthenticationEvent.AuthenticationEventType[] 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 (AuthenticationEvent.AuthenticationEventType c : AuthenticationEvent.AuthenticationEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationEvent.AuthenticationEventType 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
-
-