Package de.kentoj.kencommandapi
Class BukkitKenCommandApi
java.lang.Object
de.kentoj.kencommandapi.impl.AbstractKenCommandApi<org.bukkit.command.CommandSender,BukkitCommandContext>
de.kentoj.kencommandapi.BukkitKenCommandApi
- All Implemented Interfaces:
de.kentoj.kencommandapi.api.KenCommandApi<org.bukkit.command.CommandSender,BukkitCommandContext>
public class BukkitKenCommandApi
extends de.kentoj.kencommandapi.impl.AbstractKenCommandApi<org.bukkit.command.CommandSender,BukkitCommandContext>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(org.bukkit.command.CommandSender sender, Map<String, de.kentoj.kencommandapi.api.processing.ParsedArgument<org.bukkit.command.CommandSender, BukkitCommandContext, ?>> parsedArguments) voidregister(de.kentoj.kencommandapi.api.structure.node.CommandNode<org.bukkit.command.CommandSender, BukkitCommandContext> rootNode) voidsendErrorMessage(org.bukkit.command.CommandSender sender, de.kentoj.kencommandapi.api.processing.CommandException ex) Methods inherited from class de.kentoj.kencommandapi.impl.AbstractKenCommandApi
createArgument, createNode, invoke
-
Constructor Details
-
BukkitKenCommandApi
public BukkitKenCommandApi()
-
-
Method Details
-
createContext
public BukkitCommandContext createContext(org.bukkit.command.CommandSender sender, Map<String, de.kentoj.kencommandapi.api.processing.ParsedArgument<org.bukkit.command.CommandSender, BukkitCommandContext, ?>> parsedArguments) - Specified by:
createContextin classde.kentoj.kencommandapi.impl.AbstractKenCommandApi<org.bukkit.command.CommandSender,BukkitCommandContext>
-
sendErrorMessage
public void sendErrorMessage(org.bukkit.command.CommandSender sender, de.kentoj.kencommandapi.api.processing.CommandException ex) - Specified by:
sendErrorMessagein classde.kentoj.kencommandapi.impl.AbstractKenCommandApi<org.bukkit.command.CommandSender,BukkitCommandContext>
-
register
public void register(de.kentoj.kencommandapi.api.structure.node.CommandNode<org.bukkit.command.CommandSender, BukkitCommandContext> rootNode)
-