类 NextCommandMiddleware<T extends NextPlugin<T>>

java.lang.Object
org.bukkit.command.Command
cn.yingyya.next.moment.api.command.NextCommandMiddleware<T>

public class NextCommandMiddleware<T extends NextPlugin<T>> extends org.bukkit.command.Command
  • 字段概要

    从类继承的字段 org.bukkit.command.Command

    description, timings, usageMessage
  • 构造器概要

    构造器
    构造器
    说明
    NextCommandMiddleware(@NotNull NextCommand<T> command)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    execute(@NotNull org.bukkit.command.CommandSender sender, @NotNull String s, @NotNull String[] strings)
     
     
    @NotNull List<String>
    tabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull String alias, @NotNull String[] args)
     

    从类继承的方法 org.bukkit.command.Command

    broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 构造器详细资料

    • NextCommandMiddleware

      public NextCommandMiddleware(@NotNull @NotNull NextCommand<T> command)
  • 方法详细资料

    • getMatchesCommand

      public NextCommand<T> getMatchesCommand(NextCommand<T> command, String[] args)
    • execute

      public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String s, @NotNull @NotNull String[] strings)
      指定者:
      execute 在类中 org.bukkit.command.Command
    • tabComplete

      @NotNull public @NotNull List<String> tabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String alias, @NotNull @NotNull String[] args) throws IllegalArgumentException
      覆盖:
      tabComplete 在类中 org.bukkit.command.Command
      抛出:
      IllegalArgumentException