Class FPlayerParser

java.lang.Object
dev.kitteh.factions.command.FPlayerParser
All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<Sender,FPlayer>, org.incendo.cloud.suggestion.BlockingSuggestionProvider<Sender>, org.incendo.cloud.suggestion.SuggestionProvider<Sender>, org.incendo.cloud.suggestion.SuggestionProviderHolder<Sender>

@AvailableSince("4.0.0") @NullMarked public class FPlayerParser extends Object implements org.incendo.cloud.parser.ArgumentParser<Sender,FPlayer>, org.incendo.cloud.suggestion.BlockingSuggestionProvider<Sender>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
    static enum 
     

    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>
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.incendo.cloud.parser.ParserDescriptor<Sender,FPlayer>
     
    org.incendo.cloud.parser.ArgumentParseResult<FPlayer>
    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, wait

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

    flatMap, flatMapSuccess, mapSuccess, parseFuture

    Methods inherited from interface org.incendo.cloud.suggestion.BlockingSuggestionProvider

    suggestionsFuture
  • Method Details

    • of

      public static org.incendo.cloud.parser.ParserDescriptor<Sender,FPlayer> of(FPlayerParser.Include primary, FPlayerParser.Include... includes)
    • parse

      public org.incendo.cloud.parser.ArgumentParseResult<FPlayer> parse(org.incendo.cloud.context.CommandContext<Sender> commandContext, org.incendo.cloud.context.CommandInput commandInput)
      Specified by:
      parse in interface org.incendo.cloud.parser.ArgumentParser<Sender,FPlayer>
    • suggestionProvider

      public org.incendo.cloud.suggestion.SuggestionProvider<Sender> suggestionProvider()
      Specified by:
      suggestionProvider in interface org.incendo.cloud.parser.ArgumentParser<Sender,FPlayer>
      Specified by:
      suggestionProvider in interface org.incendo.cloud.suggestion.SuggestionProviderHolder<Sender>
    • 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:
      suggestions in interface org.incendo.cloud.suggestion.BlockingSuggestionProvider<Sender>