Package cloud.commandframework.internal
Class CommandRegistrationHandler.NullCommandRegistrationHandler
java.lang.Object
cloud.commandframework.internal.CommandRegistrationHandler.NullCommandRegistrationHandler
- All Implemented Interfaces:
CommandRegistrationHandler
- Enclosing interface:
- CommandRegistrationHandler
public static final class CommandRegistrationHandler.NullCommandRegistrationHandler
extends Object
implements CommandRegistrationHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface cloud.commandframework.internal.CommandRegistrationHandler
CommandRegistrationHandler.NullCommandRegistrationHandler
-
Method Summary
Modifier and TypeMethodDescriptionboolean
registerCommand(@NonNull Command<?> command)
Attempt to register the command
-
Method Details
-
registerCommand
Description copied from interface:CommandRegistrationHandler
Attempt to register the command- Specified by:
registerCommand
in interfaceCommandRegistrationHandler
- Parameters:
command
- Command to register- Returns:
true
if the command was registered successfully, elsefalse
-