@Translatable public enum ELoginResultText extends Enum<ELoginResultText> implements com.helger.commons.name.IHasDisplayText
| Enum Constant and Description |
|---|
INVALID_PASSWORD |
SESSION_ALREADY_HAS_USER |
SUCCESS |
SUCCESS_WITH_LOGOUT |
USER_ALREADY_LOGGED_IN |
USER_IS_DELETED |
USER_IS_DISABLED |
USER_IS_MISSING_ROLE |
USER_NOT_EXISTING |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayText(Locale aContentLocale) |
static ELoginResultText |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELoginResultText[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELoginResultText SUCCESS
public static final ELoginResultText SUCCESS_WITH_LOGOUT
public static final ELoginResultText USER_NOT_EXISTING
public static final ELoginResultText USER_IS_DELETED
public static final ELoginResultText USER_IS_DISABLED
public static final ELoginResultText USER_IS_MISSING_ROLE
public static final ELoginResultText INVALID_PASSWORD
public static final ELoginResultText USER_ALREADY_LOGGED_IN
public static final ELoginResultText SESSION_ALREADY_HAS_USER
public static ELoginResultText[] values()
for (ELoginResultText c : ELoginResultText.values()) System.out.println(c);
public static ELoginResultText 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 nullCopyright © 2014–2015 Philip Helger. All rights reserved.