Package org.apache.ivy.plugins.version
Class Match.NoMatchMatcher
- java.lang.Object
-
- org.apache.ivy.plugins.version.Match.NoMatchMatcher
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNoMatchMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisExact()Return if the matcher will match *only* if the expression equals the input.booleanmatches(java.lang.String str)Check whether a given string is matched by this matcher.
-
-
-
Method Detail
-
isExact
public boolean isExact()
Description copied from interface:MatcherReturn if the matcher will match *only* if the expression equals the input. WARN: This is used only as a performance trick, to avoid scanning for things when you already know exactly what you want. In the install task where it used it avoid scanning the repository to list all modules to find that only one matches, and that it has the name requested.
-
matches
public boolean matches(java.lang.String str)
Description copied from interface:MatcherCheck whether a given string is matched by this matcher.
-
-