public enum LoginStatus extends Enum<LoginStatus>
LoginStatus to represent the success or failure of the log in attempt.
The field value can be SUCCESS (default value) or FAILURE.| Modifier and Type | Method and Description |
|---|---|
String |
getSiftScienceValue() |
static LoginStatus |
resolve(String siftScienceValue) |
static LoginStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginStatus SUCCESS
public static final LoginStatus FAILURE
public static LoginStatus[] values()
for (LoginStatus c : LoginStatus.values()) System.out.println(c);
public static LoginStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getSiftScienceValue()
public static LoginStatus resolve(String siftScienceValue)
Copyright © 2014. All rights reserved.