Class CommandManager


  • @NonExtendable
    public abstract class CommandManager
    extends Object
    Chameleon command manager.
    • 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)