public enum RegistrationError extends Enum<RegistrationError>
| Enum Constant and Description |
|---|
EMAIL_EXISTS |
UNKNOWN |
USER_EXISTS |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
org.apache.wicket.model.IModel<String> |
getLabelModel() |
static RegistrationError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistrationError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistrationError USER_EXISTS
public static final RegistrationError EMAIL_EXISTS
public static final RegistrationError UNKNOWN
public static RegistrationError[] values()
for (RegistrationError c : RegistrationError.values()) System.out.println(c);
public static RegistrationError 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 getLabel()
public org.apache.wicket.model.IModel<String> getLabelModel()
Copyright © 2020. All rights reserved.