Class RegionFlagParser<C>
java.lang.Object
org.empirewar.orbis.command.parser.RegionFlagParser<C>
- All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<C,,RegistryRegionFlag<?>> org.incendo.cloud.suggestion.BlockingSuggestionProvider<C>,org.incendo.cloud.suggestion.SuggestionProvider<C>,org.incendo.cloud.suggestion.SuggestionProviderHolder<C>
public final class RegionFlagParser<C>
extends Object
implements org.incendo.cloud.parser.ArgumentParser<C,RegistryRegionFlag<?>>, org.incendo.cloud.suggestion.BlockingSuggestionProvider<C>
-
Nested Class Summary
Nested ClassesNested 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> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull org.incendo.cloud.parser.ArgumentParseResult<@NonNull RegistryRegionFlag<?>> parse(@NonNull org.incendo.cloud.context.CommandContext<@NonNull C> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) @NonNull Iterable<? extends @NonNull org.incendo.cloud.suggestion.Suggestion> suggestions(@NonNull org.incendo.cloud.context.CommandContext<C> context, @NonNull 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, parseFuture, suggestionProviderMethods inherited from interface org.incendo.cloud.suggestion.BlockingSuggestionProvider
suggestionsFuture
-
Constructor Details
-
RegionFlagParser
public RegionFlagParser()
-
-
Method Details
-
parse
public @NonNull org.incendo.cloud.parser.ArgumentParseResult<@NonNull RegistryRegionFlag<?>> parse(@NonNull org.incendo.cloud.context.CommandContext<@NonNull C> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) - Specified by:
parsein interfaceorg.incendo.cloud.parser.ArgumentParser<C,RegistryRegionFlag<?>>
-
suggestions
public @NonNull Iterable<? extends @NonNull org.incendo.cloud.suggestion.Suggestion> suggestions(@NonNull org.incendo.cloud.context.CommandContext<C> context, @NonNull org.incendo.cloud.context.CommandInput input) - Specified by:
suggestionsin interfaceorg.incendo.cloud.suggestion.BlockingSuggestionProvider<C>
-