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 Classes
    Modifier and Type
    Class
    Description
    static final class 
     

    Nested 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @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, wait

    Methods inherited from interface org.incendo.cloud.parser.ArgumentParser

    flatMap, flatMapSuccess, mapSuccess, parseFuture, suggestionProvider

    Methods 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:
      parse in interface org.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:
      suggestions in interface org.incendo.cloud.suggestion.BlockingSuggestionProvider<C>