Interface ADPExecutableCommand

    • Method Detail

      • getCommand

        @NotNull
        @NotNull ADPCommand getCommand()
        Command enum
        Returns:
        the command enum
      • getCommandName

        @NotNull
        @NotNull String getCommandName()
        Name of this command
        Returns:
        the command name
      • isListedInHelp

        boolean isListedInHelp()
        Is this command listed in help page
        Returns:
        true if this command is listed in help page
      • getDescription

        @Nullable
        @Nullable String getDescription()
        Get the command description
        Returns:
        the command description
      • getHelp

        @NotNull
        @NotNull String getHelp()
        Get the command help
        Returns:
        the command help
      • getSyntax

        @NotNull
        @NotNull String getSyntax()
        Get the command syntax
        Returns:
        the command syntax
      • getSyntaxForUser

        @NotNull
        default @NotNull String getSyntaxForUser​(User user)
        Get the command syntax for the given user
        Parameters:
        user - the user for the syntax
        Returns:
        the command syntax
      • getConsoleSyntax

        @NotNull
        default @NotNull String getConsoleSyntax()
        Get the console command syntax
        Returns:
        syntax of the command run in console
      • getRunCommand

        @NotNull
        @NotNull String getRunCommand()
        Get the run command command syntax
        Returns:
        the run command syntax
      • isExecutableByConsole

        boolean isExecutableByConsole()
        Is the command executable by console
        Returns:
        true if is executable