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 TypeMethodDescriptionbooleanmatches(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:
matchesin classPatternIncludesArtifactFilter.Pattern
-
translateEquals
Description copied from class:PatternIncludesArtifactFilter.PatternReturns a string containing a fixed artifact gatv coordinates or null if the pattern can not be translated.- Overrides:
translateEqualsin classPatternIncludesArtifactFilter.Pattern
-
translateEquals
Description copied from class:PatternIncludesArtifactFilter.PatternCheck if the this pattern is a fixed pattern on the specified pos.- Overrides:
translateEqualsin classPatternIncludesArtifactFilter.Pattern
-