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