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