Class BukkitCommand

  • All Implemented Interfaces:
    org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

    public class BukkitCommand
    extends java.lang.Object
    implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
    • Constructor Summary

      Constructors 
      Constructor Description
      BukkitCommand​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, ErrorLogger errorLogger, Subcommand command)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean onCommand​(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, java.lang.String label, java.lang.String[] args)  
      java.util.List<java.lang.String> onTabComplete​(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, java.lang.String label, java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BukkitCommand

        public BukkitCommand​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory,
                             ErrorLogger errorLogger,
                             Subcommand command)
    • Method Detail

      • onCommand

        public boolean onCommand​(org.bukkit.command.CommandSender sender,
                                 org.bukkit.command.Command cmd,
                                 java.lang.String label,
                                 java.lang.String[] args)
        Specified by:
        onCommand in interface org.bukkit.command.CommandExecutor
      • onTabComplete

        public java.util.List<java.lang.String> onTabComplete​(org.bukkit.command.CommandSender sender,
                                                              org.bukkit.command.Command cmd,
                                                              java.lang.String label,
                                                              java.lang.String[] args)
        Specified by:
        onTabComplete in interface org.bukkit.command.TabCompleter