Package dev.kitteh.factions.command
Class FactionParser
java.lang.Object
dev.kitteh.factions.command.FactionParser
- All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<Sender,,Faction> org.incendo.cloud.suggestion.BlockingSuggestionProvider<Sender>,org.incendo.cloud.suggestion.SuggestionProvider<Sender>,org.incendo.cloud.suggestion.SuggestionProviderHolder<Sender>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumNested classes/interfaces inherited from interface org.incendo.cloud.parser.ArgumentParser
org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<C,T> Nested classes/interfaces inherited from interface org.incendo.cloud.suggestion.BlockingSuggestionProvider
org.incendo.cloud.suggestion.BlockingSuggestionProvider.Strings<C> -
Method Summary
Modifier and TypeMethodDescriptionof(FactionParser.Include... includes) org.incendo.cloud.parser.ArgumentParseResult<Faction> parse(org.incendo.cloud.context.CommandContext<Sender> commandContext, org.incendo.cloud.context.CommandInput commandInput) org.incendo.cloud.suggestion.SuggestionProvider<Sender> Iterable<? extends org.incendo.cloud.suggestion.Suggestion> suggestions(org.incendo.cloud.context.CommandContext<Sender> context, org.incendo.cloud.context.CommandInput input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.parser.ArgumentParser
flatMap, flatMapSuccess, mapSuccess, parseFutureMethods inherited from interface org.incendo.cloud.suggestion.BlockingSuggestionProvider
suggestionsFuture
-
Method Details
-
of
public static org.incendo.cloud.parser.ParserDescriptor<Sender,Faction> of(FactionParser.Include... includes) -
parse
-
suggestionProvider
-
suggestions
public Iterable<? extends org.incendo.cloud.suggestion.Suggestion> suggestions(org.incendo.cloud.context.CommandContext<Sender> context, org.incendo.cloud.context.CommandInput input) - Specified by:
suggestionsin interfaceorg.incendo.cloud.suggestion.BlockingSuggestionProvider<Sender>
-