Class CommandContextImpl<T,S extends CommandContext<T,?>>
java.lang.Object
de.kentoj.kencommandapi.impl.processing.CommandContextImpl<T,S>
- All Implemented Interfaces:
CommandContext<T,S>
public class CommandContextImpl<T,S extends CommandContext<T,?>>
extends Object
implements CommandContext<T,S>
-
Constructor Summary
ConstructorsConstructorDescriptionCommandContextImpl(T sender, Map<String, ParsedArgument<T, S, ?>> parsedArguments) -
Method Summary
Modifier and TypeMethodDescription<V> ParsedArgument<T, S, V> getParsedArgument(String name) Map<String, ParsedArgument<T, S, ?>> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.kentoj.kencommandapi.api.processing.CommandContext
getArg, getArg, getParsedArgument
-
Constructor Details
-
CommandContextImpl
-
-
Method Details
-
getParsedArgument
- Specified by:
getParsedArgumentin interfaceCommandContext<T,S extends CommandContext<T, ?>> - Returns:
- Object that is parsed from the raw argument
-
getSender
- Specified by:
getSenderin interfaceCommandContext<T,S extends CommandContext<T, ?>>
-
getParsedArguments
-