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 TypeMethodDescriptionvoidaddChild(co.aikar.commands.BaseCommand command) booleanList<co.aikar.commands.BaseCommand>co.aikar.commands.BaseCommandco.aikar.commands.CommandManagerorg.bukkit.plugin.Plugincom.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> tabComplete(org.bukkit.command.CommandSender sender, String commandLabel, String[] args) booleantestPermissionSilent(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, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.aikar.commands.RootCommand
addChildShared, execute, getDefaultRegisteredCommand, getTabCompletions, getTabCompletions, getTabCompletions, getUniquePermission, getUsage, hasAnyPermission
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceco.aikar.commands.RootCommand- Overrides:
getDescriptionin classorg.bukkit.command.Command
-
getCommandName
- Specified by:
getCommandNamein interfaceco.aikar.commands.RootCommand
-
tabComplete
public List<String> tabComplete(org.bukkit.command.CommandSender sender, String commandLabel, String[] args) throws IllegalArgumentException - Overrides:
tabCompletein classorg.bukkit.command.Command- Throws:
IllegalArgumentException
-
execute
- Specified by:
executein classorg.bukkit.command.Command
-
testPermissionSilent
- Overrides:
testPermissionSilentin classorg.bukkit.command.Command
-
addChild
- Specified by:
addChildin interfaceco.aikar.commands.RootCommand
-
getManager
- Specified by:
getManagerin interfaceco.aikar.commands.RootCommand
-
getSubCommands
public com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> getSubCommands()- Specified by:
getSubCommandsin interfaceco.aikar.commands.RootCommand
-
getChildren
- Specified by:
getChildrenin interfaceco.aikar.commands.RootCommand
-
getDefCommand
- Specified by:
getDefCommandin interfaceco.aikar.commands.RootCommand
-
getPlugin
- Specified by:
getPluginin interfaceorg.bukkit.command.PluginIdentifiableCommand
-