Enum AuthenticatedState
- java.lang.Object
-
- java.lang.Enum<AuthenticatedState>
-
- com.adobe.marketing.mobile.edge.identity.AuthenticatedState
-
- All Implemented Interfaces:
Serializable,Comparable<AuthenticatedState>
public enum AuthenticatedState extends Enum<AuthenticatedState>
Represents the authentication state for anIdentityItem
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMBIGUOUSThe state is ambiguous.AUTHENTICATEDUser identified by a login or similar action that was valid at the time of the event observation.LOGGED_OUTUser was identified by a login action at some point of time previously, but is not currently logged in.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticatedStatefromString(String state)StringgetName()static AuthenticatedStatevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticatedState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMBIGUOUS
public static final AuthenticatedState AMBIGUOUS
The state is ambiguous.
-
AUTHENTICATED
public static final AuthenticatedState AUTHENTICATED
User identified by a login or similar action that was valid at the time of the event observation.
-
LOGGED_OUT
public static final AuthenticatedState LOGGED_OUT
User was identified by a login action at some point of time previously, but is not currently logged in.
-
-
Method Detail
-
values
public static AuthenticatedState[] 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 (AuthenticatedState c : AuthenticatedState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticatedState 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
-
getName
public String getName()
-
fromString
public static AuthenticatedState fromString(String state)
-
-