Class AdminCommand<T extends AdminSubCommand>

    • Constructor Summary

      Constructors 
      Constructor Description
      AdminCommand​(java.lang.String... aliases)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void addSubcommand​(T pSubCommand)  
      void execute​(net.md_5.bungee.api.CommandSender commandSender, java.lang.String[] args)  
      protected abstract void executeCommand​(net.md_5.bungee.api.CommandSender commandSender, java.lang.String[] args)  
      protected java.util.List<T> getSubCommands()  
      • Methods inherited from class net.md_5.bungee.api.plugin.Command

        canEqual, equals, getAliases, getName, getPermission, hashCode, hasPermission, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AdminCommand

        public AdminCommand​(java.lang.String... aliases)
    • Method Detail

      • getSubCommands

        protected java.util.List<T> getSubCommands()
      • addSubcommand

        public void addSubcommand​(T pSubCommand)
      • execute

        public void execute​(net.md_5.bungee.api.CommandSender commandSender,
                            java.lang.String[] args)
        Specified by:
        execute in class net.md_5.bungee.api.plugin.Command
      • executeCommand

        protected abstract void executeCommand​(net.md_5.bungee.api.CommandSender commandSender,
                                               java.lang.String[] args)