public enum BukkitPermissionFactory extends java.lang.Enum<BukkitPermissionFactory> implements revxrsal.commands.command.CommandPermission.Factory<BukkitCommandActor>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
revxrsal.commands.command.CommandPermission<BukkitCommandActor> |
create(@NotNull revxrsal.commands.annotation.list.AnnotationList annotations,
@NotNull revxrsal.commands.Lamp<BukkitCommandActor> lamp) |
static BukkitPermissionFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BukkitPermissionFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BukkitPermissionFactory INSTANCE
public static BukkitPermissionFactory[] values()
for (BukkitPermissionFactory c : BukkitPermissionFactory.values()) System.out.println(c);
public static BukkitPermissionFactory 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@Nullable public revxrsal.commands.command.CommandPermission<BukkitCommandActor> create(@NotNull @NotNull revxrsal.commands.annotation.list.AnnotationList annotations, @NotNull @NotNull revxrsal.commands.Lamp<BukkitCommandActor> lamp)
create in interface revxrsal.commands.command.CommandPermission.Factory<BukkitCommandActor>