Class PatternIncludesArtifactFilter.PosPattern
java.lang.Object
org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.Pattern
org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.PosPattern
- Enclosing class:
- PatternIncludesArtifactFilter
A positional matching pattern, to check if a token in the gatv coordinates
having a position between posMin and posMax (both inclusives) can match
the pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final char[]
private final int
private final int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.Pattern
toString, translateEquals, translateEquals
-
Field Details
-
patternCharArray
private final char[] patternCharArray -
posMin
private final int posMin -
posMax
private final int posMax
-
-
Constructor Details
-
PosPattern
PosPattern(String pattern, char[] patternCharArray, int posMin, int posMax)
-
-
Method Details
-
matches
public boolean matches(char[][] parts) - Specified by:
matches
in classPatternIncludesArtifactFilter.Pattern
-