public static enum UserRegistrationService.ValidationMethod extends Enum<UserRegistrationService.ValidationMethod>
Modifier and Type | Method and Description |
---|---|
static UserRegistrationService.ValidationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserRegistrationService.ValidationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserRegistrationService.ValidationMethod EMAIL
public static final UserRegistrationService.ValidationMethod NONE
public static UserRegistrationService.ValidationMethod[] values()
for (UserRegistrationService.ValidationMethod c : UserRegistrationService.ValidationMethod.values()) System.out.println(c);
public static UserRegistrationService.ValidationMethod 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 © 2011 Nuxeo SA. All Rights Reserved.