Class ArtifactMatcher.Pattern
- java.lang.Object
-
- org.apache.maven.plugins.enforcer.utils.ArtifactMatcher.Pattern
-
- Enclosing class:
- ArtifactMatcher
public static class ArtifactMatcher.Pattern extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Pattern(java.lang.String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(org.apache.maven.artifact.Artifact artifact)
private boolean
matches(java.lang.String expression, java.lang.String input)
java.lang.String
toString()
-
-
-
Method Detail
-
match
public boolean match(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
- Throws:
org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
-
matches
private boolean matches(java.lang.String expression, java.lang.String input)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-