Package co.aikar.commands
Class BukkitRootCommand
java.lang.Object
org.bukkit.command.Command
co.aikar.commands.BukkitRootCommand
- All Implemented Interfaces:
co.aikar.commands.RootCommand
,org.bukkit.command.PluginIdentifiableCommand
public class BukkitRootCommand
extends org.bukkit.command.Command
implements co.aikar.commands.RootCommand, org.bukkit.command.PluginIdentifiableCommand
-
Field Summary
Fields inherited from class org.bukkit.command.Command
description, timings, usageMessage
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(co.aikar.commands.BaseCommand command) boolean
List<co.aikar.commands.BaseCommand>
co.aikar.commands.BaseCommand
co.aikar.commands.CommandManager
org.bukkit.plugin.Plugin
com.google.common.collect.SetMultimap<String,
co.aikar.commands.RegisteredCommand> tabComplete
(org.bukkit.command.CommandSender sender, String commandLabel, String[] args) boolean
testPermissionSilent
(org.bukkit.command.CommandSender target) Methods inherited from class org.bukkit.command.Command
broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, getAliases, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, toString, unregister
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.aikar.commands.RootCommand
addChildShared, execute, getDefaultRegisteredCommand, getTabCompletions, getTabCompletions, getTabCompletions, getUniquePermission, getUsage, hasAnyPermission
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceco.aikar.commands.RootCommand
- Overrides:
getDescription
in classorg.bukkit.command.Command
-
getCommandName
- Specified by:
getCommandName
in interfaceco.aikar.commands.RootCommand
-
tabComplete
public List<String> tabComplete(org.bukkit.command.CommandSender sender, String commandLabel, String[] args) throws IllegalArgumentException - Overrides:
tabComplete
in classorg.bukkit.command.Command
- Throws:
IllegalArgumentException
-
execute
- Specified by:
execute
in classorg.bukkit.command.Command
-
testPermissionSilent
- Overrides:
testPermissionSilent
in classorg.bukkit.command.Command
-
addChild
- Specified by:
addChild
in interfaceco.aikar.commands.RootCommand
-
getManager
- Specified by:
getManager
in interfaceco.aikar.commands.RootCommand
-
getSubCommands
public com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> getSubCommands()- Specified by:
getSubCommands
in interfaceco.aikar.commands.RootCommand
-
getChildren
- Specified by:
getChildren
in interfaceco.aikar.commands.RootCommand
-
getDefCommand
- Specified by:
getDefCommand
in interfaceco.aikar.commands.RootCommand
-
getPlugin
- Specified by:
getPlugin
in interfaceorg.bukkit.command.PluginIdentifiableCommand
-