Package de.kentoj.kencommandapi.impl
Class AbstractKenCommandApi<T,S extends CommandContext<T,?>>
java.lang.Object
de.kentoj.kencommandapi.impl.AbstractKenCommandApi<T,S>
- All Implemented Interfaces:
KenCommandApi<T,S>
public abstract class AbstractKenCommandApi<T,S extends CommandContext<T,?>>
extends Object
implements KenCommandApi<T,S>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> CommandArgument<T, S, V> createArgument(String id, ArgumentType<T, S, V> type) abstract ScreateContext(T sender, Map<String, ParsedArgument<T, S, ?>> parsedArguments) createNode(String... name) voidabstract voidsendErrorMessage(T t, CommandException exception)
-
Constructor Details
-
AbstractKenCommandApi
public AbstractKenCommandApi()
-
-
Method Details
-
createContext
-
sendErrorMessage
-
createNode
- Specified by:
createNodein interfaceKenCommandApi<T,S extends CommandContext<T, ?>>
-
createArgument
- Specified by:
createArgumentin interfaceKenCommandApi<T,S extends CommandContext<T, ?>>
-
invoke
- Specified by:
invokein interfaceKenCommandApi<T,S extends CommandContext<T, ?>>
-