Matcher for Maven mirror patterns. See the documentation for a description of these mirror patterns. In short, they are:
| Constructor and description |
|---|
MirrorMatcher
(java.util.Collection<org.apache.maven.settings.Mirror> pMirrors)Create a new MirrorMatcher. |
| Type | Name and description |
|---|---|
boolean |
matches(org.apache.maven.artifact.repository.ArtifactRepository pRepository)Check if an ArtifactRepository matches one of the mirror patterns specified in the
constructor. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a new MirrorMatcher.
pMirrors - The mirrors to use the patterns of when matching. Check if an ArtifactRepository matches one of the mirror patterns specified in the
constructor.
pRepository - The repository to check.