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