info.rolandkrueger.roklib.webapps.actions
Enum UserRegistration.RegistrationOutcome
java.lang.Object
java.lang.Enum<UserRegistration.RegistrationOutcome>
info.rolandkrueger.roklib.webapps.actions.UserRegistration.RegistrationOutcome
- All Implemented Interfaces:
- Serializable, Comparable<UserRegistration.RegistrationOutcome>
- Enclosing class:
- UserRegistration<KeyClass,UserData,U extends GenericUser<KeyClass,UserData>>
public static enum UserRegistration.RegistrationOutcome
- extends Enum<UserRegistration.RegistrationOutcome>
USERNAME_ALREADY_REGISTERED
public static final UserRegistration.RegistrationOutcome USERNAME_ALREADY_REGISTERED
ERROR_DURING_REGISTRATION
public static final UserRegistration.RegistrationOutcome ERROR_DURING_REGISTRATION
OK
public static final UserRegistration.RegistrationOutcome OK
values
public static UserRegistration.RegistrationOutcome[] 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 (UserRegistration.RegistrationOutcome c : UserRegistration.RegistrationOutcome.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UserRegistration.RegistrationOutcome 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 name
NullPointerException
- if the argument is null
Copyright © 2007-2011. All Rights Reserved.