public enum UserStatus extends Enum<UserStatus>
| Enum Constant and Description |
|---|
ACTIVE
Represents ACTIVE status.
|
DECLINED
Represents DECLINED status.
|
PENDING
Represents PENDING status.
|
| Modifier and Type | Method and Description |
|---|---|
static UserStatus |
valueOf(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 ACTIVE
public static final UserStatus PENDING
public static final UserStatus DECLINED
public static UserStatus[] values()
for (UserStatus c : UserStatus.values()) System.out.println(c);
public static UserStatus 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 © 2014–2017 Smartsheet. All rights reserved.