public enum UserDisplay extends java.lang.Enum<UserDisplay>
| Enum Constant and Description |
|---|
NAME_ONLY
Only the full name
|
NAME_USERNAME
The full name followed by the login name
|
USERNAME_NAME
The login name followed by the full name
|
USERNAME_ONLY
Only the login name
|
| Modifier and Type | Method and Description |
|---|---|
static UserDisplay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserDisplay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserDisplay NAME_ONLY
public static final UserDisplay USERNAME_ONLY
public static final UserDisplay NAME_USERNAME
public static final UserDisplay USERNAME_NAME
public static UserDisplay[] values()
for (UserDisplay c : UserDisplay.values()) System.out.println(c);
public static UserDisplay valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null