Module com.github.rvesse.airline
Class AbbreviatedCommandFinder
java.lang.Object
com.github.rvesse.airline.utils.predicates.AbstractAbbreviationFinder<CommandMetadata>
com.github.rvesse.airline.utils.predicates.parser.AbbreviatedCommandFinder
- All Implemented Interfaces:
Predicate<CommandMetadata>,org.apache.commons.collections4.Predicate<CommandMetadata>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisExactNameMatch(String value, CommandMetadata item) protected booleanisPartialNameMatch(String value, CommandMetadata item) Methods inherited from class com.github.rvesse.airline.utils.predicates.AbstractAbbreviationFinder
evaluateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.collections4.Predicate
test
-
Constructor Details
-
AbbreviatedCommandFinder
-
-
Method Details
-
isExactNameMatch
- Specified by:
isExactNameMatchin classAbstractAbbreviationFinder<CommandMetadata>
-
isPartialNameMatch
- Specified by:
isPartialNameMatchin classAbstractAbbreviationFinder<CommandMetadata>
-