Class ExactIgnoresCaseMatcher<TOption>
java.lang.Object
com.github.rvesse.airline.prompts.matchers.DefaultMatcher<TOption>
com.github.rvesse.airline.prompts.matchers.ExactMatcher<TOption>
com.github.rvesse.airline.prompts.matchers.ExactIgnoresCaseMatcher<TOption>
- All Implemented Interfaces:
PromptOptionMatcher<TOption>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.collections4.Predicate
<TOption> getExactOrPartialMatcher
(String response) Gets an exact or partial matcherMethods inherited from class com.github.rvesse.airline.prompts.matchers.DefaultMatcher
getExactMatcher, match
-
Constructor Details
-
ExactIgnoresCaseMatcher
public ExactIgnoresCaseMatcher()
-
-
Method Details
-
getExactOrPartialMatcher
protected org.apache.commons.collections4.Predicate<TOption> getExactOrPartialMatcher(String response) Description copied from class:DefaultMatcher
Gets an exact or partial matcher- Overrides:
getExactOrPartialMatcher
in classExactMatcher<TOption>
- Parameters:
response
- User response to match options against- Returns:
- Exact or partial matcher
-