|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.module.ModuleQuery
java.lang.module.spi.query.VersionMatches
public class VersionMatches
A ModuleQuery that matches the Version returned by a ModuleArchive.
| Field Summary |
|---|
| Fields inherited from class java.lang.module.ModuleQuery |
|---|
ANY, NONE |
| Constructor Summary | |
|---|---|
VersionMatches(Matcher<Version> versionMatcher)
Constructor. |
|
| Method Summary | |
|---|---|
Matcher<Version> |
getVersionMatcher()
Returns the version matcher. |
boolean |
matches(ModuleArchive target)
Tests if the specified target matches this instance. |
java.lang.String |
toString()
Returns a string representation of this instance. |
| Methods inherited from class java.lang.module.ModuleQuery |
|---|
addTo, addTo, and, and, any, asList, attributeEquals, attributeExists, exports, exportsPackage, exportsPackage, find, find, findIndexable, instanceOf, iterator, moduleNameAndVersionMatch, moduleNameEquals, not, not, or, or, versionMatches |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VersionMatches(Matcher<Version> versionMatcher)
versionMatcher - The version matcher to match against the version
held by a ModuleArchive.| Method Detail |
|---|
public Matcher<Version> getVersionMatcher()
public boolean matches(ModuleArchive target)
matches in interface Matcher<ModuleArchive>matches in class ModuleQuerytarget - The target instance.
true if the specified target matches this instance;
false otherwise.public java.lang.String toString()
toString in class java.lang.Object
|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||