public enum DeletionCause extends Enum<DeletionCause>
| Enum Constant and Description |
|---|
API
The deletion was caused by an API call
|
COMMAND
The deletion was caused by a command
|
INTERNAL
The deletion was caused by a LuckPerms internal
|
| Modifier and Type | Method and Description |
|---|---|
static DeletionCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeletionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeletionCause COMMAND
public static final DeletionCause API
public static final DeletionCause INTERNAL
public static DeletionCause[] values()
for (DeletionCause c : DeletionCause.values()) System.out.println(c);
public static DeletionCause 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 © 2018. All rights reserved.