Package co.aikar.commands
Class VelocityRootCommand
- java.lang.Object
-
- co.aikar.commands.VelocityRootCommand
-
- All Implemented Interfaces:
co.aikar.commands.RootCommand,com.velocitypowered.api.command.Command
public class VelocityRootCommand extends Object implements com.velocitypowered.api.command.Command, co.aikar.commands.RootCommand
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(co.aikar.commands.BaseCommand command)voidexecute(com.velocitypowered.api.command.CommandSource source, String[] args)List<co.aikar.commands.BaseCommand>getChildren()StringgetCommandName()co.aikar.commands.BaseCommandgetDefCommand()co.aikar.commands.CommandManagergetManager()com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand>getSubCommands()List<String>suggest(com.velocitypowered.api.command.CommandSource source, String[] args)
-
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein interfaceco.aikar.commands.RootCommand
-
addChild
public void addChild(co.aikar.commands.BaseCommand command)
- Specified by:
addChildin interfaceco.aikar.commands.RootCommand
-
getManager
public co.aikar.commands.CommandManager 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
public List<co.aikar.commands.BaseCommand> getChildren()
- Specified by:
getChildrenin interfaceco.aikar.commands.RootCommand
-
execute
public void execute(com.velocitypowered.api.command.CommandSource source, String[] args)
- Specified by:
executein interfacecom.velocitypowered.api.command.Command
-
suggest
public List<String> suggest(com.velocitypowered.api.command.CommandSource source, String[] args)
- Specified by:
suggestin interfacecom.velocitypowered.api.command.Command
-
getDefCommand
public co.aikar.commands.BaseCommand getDefCommand()
- Specified by:
getDefCommandin interfaceco.aikar.commands.RootCommand
-
-