public enum MembersDeactivateError extends Enum<MembersDeactivateError>
Enum Constant and Description |
---|
OTHER
An unspecified error.
|
USER_NOT_FOUND
No matching user found.
|
USER_NOT_IN_TEAM
The user is not a member of the team.
|
Modifier and Type | Method and Description |
---|---|
static MembersDeactivateError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembersDeactivateError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembersDeactivateError USER_NOT_FOUND
public static final MembersDeactivateError USER_NOT_IN_TEAM
public static final MembersDeactivateError OTHER
public static MembersDeactivateError[] values()
for (MembersDeactivateError c : MembersDeactivateError.values()) System.out.println(c);
public static MembersDeactivateError 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 null