Class StringArgumentType<T>
java.lang.Object
de.kentoj.kencommandapi.api.argument.types.StringArgumentType<T>
- All Implemented Interfaces:
ArgumentType<T,String>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringArgumentType
public StringArgumentType()
-
-
Method Details
-
parseInput
- Specified by:
parseInputin interfaceArgumentType<T,String>
-
defaultSuggestionProvider
- Specified by:
defaultSuggestionProviderin interfaceArgumentType<T,String>
-
isGreedy
public boolean isGreedy()- Specified by:
isGreedyin interfaceArgumentType<T,String> - Returns:
- whether this argument is greedy. Greedy arguments consume all remaining input instead of a single word. For example, given the 2 words "hello" "world" as input, a greedy argument parses "hello world" as a single value. Greedy arguments may not be followed by another argument or a literal
-