Class PatternIncludesArtifactFilter.EqPattern
java.lang.Object
org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.Pattern
org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.EqPattern
- Enclosing class:
- PatternIncludesArtifactFilter
Looks for an exact match in the gatv coordinates between
posMin and posMax (both inclusives)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(char[][] parts) Returns a string containing a fixed artifact gatv coordinates or null if the pattern can not be translated.translateEquals
(int pos) Check if the this pattern is a fixed pattern on the specified pos.Methods inherited from class org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.Pattern
toString
-
Field Details
-
token
private final char[] token -
posMin
private final int posMin -
posMax
private final int posMax
-
-
Constructor Details
-
EqPattern
EqPattern(String pattern, char[] patternCharArray, int posMin, int posMax)
-
-
Method Details
-
matches
public boolean matches(char[][] parts) - Specified by:
matches
in classPatternIncludesArtifactFilter.Pattern
-
translateEquals
Description copied from class:PatternIncludesArtifactFilter.Pattern
Returns a string containing a fixed artifact gatv coordinates or null if the pattern can not be translated.- Overrides:
translateEquals
in classPatternIncludesArtifactFilter.Pattern
-
translateEquals
Description copied from class:PatternIncludesArtifactFilter.Pattern
Check if the this pattern is a fixed pattern on the specified pos.- Overrides:
translateEquals
in classPatternIncludesArtifactFilter.Pattern
-