public enum ChangePasswordSource extends java.lang.Enum<ChangePasswordSource>
Enum Constant and Description |
---|
BY_ADMIN
It means that the change password operation was requested by an admin.
|
BY_API
It means that the change password operation was requested by the API.
|
BY_PLAYER
It means that the change password operation was requested by the player himself.
|
Modifier and Type | Method and Description |
---|---|
static ChangePasswordSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangePasswordSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangePasswordSource BY_PLAYER
public static final ChangePasswordSource BY_ADMIN
public static final ChangePasswordSource BY_API
public static ChangePasswordSource[] values()
for (ChangePasswordSource c : ChangePasswordSource.values()) System.out.println(c);
public static ChangePasswordSource 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