java.lang.Object
com.github.rvesse.airline.prompts.matchers.DefaultMatcher<TOption>
com.github.rvesse.airline.prompts.matchers.ExactMatcher<TOption>
All Implemented Interfaces:
PromptOptionMatcher<TOption>
Direct Known Subclasses:
ExactIgnoresCaseMatcher

public class ExactMatcher<TOption> extends DefaultMatcher<TOption>
  • Constructor Details

    • ExactMatcher

      public ExactMatcher()
  • 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 class DefaultMatcher<TOption>
      Parameters:
      response - User response to match options against
      Returns:
      Exact or partial matcher