public enum UserVerification extends Enum<UserVerification>
Enum Constant and Description |
---|
DISCOURAGED |
PREFERRED |
REQUIRED |
Modifier and Type | Method and Description |
---|---|
static UserVerification |
of(String string) |
String |
toString() |
static UserVerification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserVerification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserVerification REQUIRED
public static final UserVerification PREFERRED
public static final UserVerification DISCOURAGED
public static UserVerification[] values()
for (UserVerification c : UserVerification.values()) System.out.println(c);
public static UserVerification 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 toString()
toString
in class Enum<UserVerification>
public static UserVerification of(String string)
Copyright © 2021 Eclipse. All rights reserved.