Interface SuggestionInputMatcher<SELF extends SuggestionInputMatcher<SELF>>
- All Superinterfaces:
InputMatcher
- All Known Implementing Classes:
SuggestionInputRawImpl.Matcher
public interface SuggestionInputMatcher<SELF extends SuggestionInputMatcher<SELF>>
extends InputMatcher
-
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanboolean<SENDER,T>
booleanisOptionalArgument(Invocation<SENDER> invocation, Argument<T> argument, Parser<SENDER, T> parser) <SENDER,T>
SuggestionInputResultnextArgument(Invocation<SENDER> invocation, Argument<T> argument, Parser<SENDER, T> parser, Suggester<SENDER, T> suggester) boolean
-
Method Details
-
hasNextRoute
boolean hasNextRoute()- Specified by:
hasNextRoutein interfaceInputMatcher
-
nextRoute
String nextRoute()- Specified by:
nextRoutein interfaceInputMatcher
-
showNextRoute
String showNextRoute()- Specified by:
showNextRoutein interfaceInputMatcher
-
isOptionalArgument
<SENDER,T> boolean isOptionalArgument(Invocation<SENDER> invocation, Argument<T> argument, Parser<SENDER, T> parser) -
nextArgument
<SENDER,T> SuggestionInputResult nextArgument(Invocation<SENDER> invocation, Argument<T> argument, Parser<SENDER, T> parser, Suggester<SENDER, T> suggester) -
copy
SELF copy() -
nextRouteIsLast
boolean nextRouteIsLast() -
hasNoNextRouteAndArguments
boolean hasNoNextRouteAndArguments()
-