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 java.lang.Object implements CommandRegistrationHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cloud.commandframework.internal.CommandRegistrationHandler
CommandRegistrationHandler.NullCommandRegistrationHandler
-
-
Method Summary
Modifier and Type Method Description boolean
registerCommand(@NonNull Command<?> command)
Attempt to register the command
-
-
-
Method Detail
-
registerCommand
public boolean registerCommand(@NonNull Command<?> command)
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
-
-