public final class CommandRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandRegistry.CommandAlreadyExistsException |
static class |
CommandRegistry.CommandNotFoundException |
static class |
CommandRegistry.HelpCommand |
Modifier and Type | Method and Description |
---|---|
static Command |
getCommand(java.lang.String alias) |
static void |
reassignCommand(Command command) |
static void |
registerCommand(Command command) |
static void |
registerCommands(Command... commands) |
static void |
unregisterCommand(java.lang.String alias) |
public static void registerCommand(Command command)
public static void registerCommands(Command... commands)
public static void reassignCommand(Command command)
public static void unregisterCommand(java.lang.String alias)
public static Command getCommand(java.lang.String alias)