Class DurationReasonParser
java.lang.Object
net.flectone.pulse.processing.parser.integer.DurationReasonParser
- All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<FPlayer, org.apache.commons.lang3.tuple.Pair<Long,String>>, org.incendo.cloud.suggestion.BlockingSuggestionProvider<FPlayer>, org.incendo.cloud.suggestion.BlockingSuggestionProvider.Strings<FPlayer>, org.incendo.cloud.suggestion.SuggestionProvider<FPlayer>, org.incendo.cloud.suggestion.SuggestionProviderHolder<FPlayer>
-
Nested Class Summary
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 -
Method Summary
Modifier and TypeMethodDescription@NonNull org.incendo.cloud.parser.ArgumentParseResult<org.apache.commons.lang3.tuple.Pair<Long, String>> parse(@NonNull org.incendo.cloud.context.CommandContext<FPlayer> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) stringSuggestions(@NonNull org.incendo.cloud.context.CommandContext<FPlayer> commandContext, @NonNull org.incendo.cloud.context.CommandInput input) Methods inherited from class 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
suggestionsFutureMethods inherited from interface org.incendo.cloud.suggestion.BlockingSuggestionProvider.Strings
suggestions
-
Constructor Details
-
DurationReasonParser
@Inject public DurationReasonParser()
-
-
Method Details
-
parse
-
stringSuggestions
public @NonNull Iterable<@NonNull String> stringSuggestions(@NonNull org.incendo.cloud.context.CommandContext<FPlayer> commandContext, @NonNull org.incendo.cloud.context.CommandInput input) - Specified by:
stringSuggestionsin interfaceorg.incendo.cloud.suggestion.BlockingSuggestionProvider.Strings<FPlayer>
-