Package dev.hypera.chameleon.command
Class CommandManager
- java.lang.Object
-
- dev.hypera.chameleon.command.CommandManager
-
@NonExtendable public abstract class CommandManager extends Object
Chameleon command manager.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommandManager(@NotNull Chameleon chameleon)Command manager constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidregister(@NotNull Command command)Register the given command.protected abstract voidregisterCommand(@NotNull Command command)voidunregister(@NotNull Command command)Unregister the given command.protected abstract voidunregisterCommand(@NotNull Command command)
-
-
-
Constructor Detail
-
CommandManager
@Internal protected CommandManager(@NotNull @NotNull Chameleon chameleon)Command manager constructor.- Parameters:
chameleon- Chameleon implementation.
-
-
Method Detail
-
register
public void register(@NotNull @NotNull Command command)Register the given command.- Parameters:
command- Command to be registered.
-
unregister
public void unregister(@NotNull @NotNull Command command)Unregister the given command.- Parameters:
command- Command to be unregistered.
-
registerCommand
@Internal protected abstract void registerCommand(@NotNull @NotNull Command command)
-
unregisterCommand
@Internal protected abstract void unregisterCommand(@NotNull @NotNull Command command)
-
-