Class CommandHelp

    • Constructor Summary

      Constructors 
      Constructor Description
      CommandHelp()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> complete​(java.lang.String commandLine, java.lang.String[] args, de.dytanic.cloudnet.common.Properties properties)
      This method allows on a Command implementation to complete the tab requests from the console or a supported command sender
      void execute​(ICommandSender sender, java.lang.String command, java.lang.String[] args, java.lang.String commandLine, de.dytanic.cloudnet.common.Properties properties)
      Handles an incoming commandLine which are already split and fetched for all extra properties
      protected CloudNet getCloudNet()  
      • Methods inherited from class java.lang.Object

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

      • CommandHelp

        public CommandHelp()
    • Method Detail

      • execute

        public void execute​(ICommandSender sender,
                            java.lang.String command,
                            java.lang.String[] args,
                            java.lang.String commandLine,
                            de.dytanic.cloudnet.common.Properties properties)
        Description copied from interface: ICommandExecutor
        Handles an incoming commandLine which are already split and fetched for all extra properties
        Specified by:
        execute in interface ICommandExecutor
        Parameters:
        sender - the sender, that execute the command
        command - the command name, that is used for
        args - all important arguments
        commandLine - the full commandline from the sender
        properties - all properties, that are parsed from the command line
      • complete

        public java.util.Collection<java.lang.String> complete​(java.lang.String commandLine,
                                                               java.lang.String[] args,
                                                               de.dytanic.cloudnet.common.Properties properties)
        Description copied from interface: ITabCompleter
        This method allows on a Command implementation to complete the tab requests from the console or a supported command sender
        Specified by:
        complete in interface ITabCompleter
        Parameters:
        commandLine - the commandLine, that is currently written
        args - the command line split into arguments
        properties - the parsed properties from the command line
        Returns:
        all available results. It does not necessarily depend on the actual input, which is already given
      • getCloudNet

        protected final CloudNet getCloudNet()