public enum UserStatus extends java.lang.Enum<UserStatus>
| Enum Constant and Description |
|---|
ACTIVE
The user is a full member
|
BLOCKED
The user access is blocked - he cannot access any channel, but is still visible by others
|
DISABLED
The user is disabled - he cannot access any channel and no other user can see him
|
PENDING
The user is pending e-mail validation
|
REMOVED
The user is permanently removed
|
| Modifier and Type | Method and Description |
|---|---|
static UserStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserStatus PENDING
public static final UserStatus ACTIVE
public static final UserStatus BLOCKED
public static final UserStatus DISABLED
public static final UserStatus REMOVED
public static UserStatus[] values()
for (UserStatus c : UserStatus.values()) System.out.println(c);
public static UserStatus 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