com.atlassian.maven.plugins.licenses
Class GlobArfifactFilter

java.lang.Object
  extended by com.atlassian.maven.plugins.licenses.GlobArfifactFilter
All Implemented Interfaces:
org.apache.maven.artifact.resolver.filter.ArtifactFilter

public class GlobArfifactFilter
extends java.lang.Object
implements org.apache.maven.artifact.resolver.filter.ArtifactFilter

A filter for matching artifacts using GLOB expressions. Given artifacts (as a String of form groupId:artifactId:version) is passed to the pattern for matching.

Author:
Sherali Karimov
See Also:
GlobCompiler

Constructor Summary
GlobArfifactFilter(java.lang.String expr)
           
 
Method Summary
 boolean include(org.apache.maven.artifact.Artifact artifact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobArfifactFilter

public GlobArfifactFilter(java.lang.String expr)
                   throws org.apache.oro.text.regex.MalformedPatternException
Throws:
org.apache.oro.text.regex.MalformedPatternException
Method Detail

include

public boolean include(org.apache.maven.artifact.Artifact artifact)
Specified by:
include in interface org.apache.maven.artifact.resolver.filter.ArtifactFilter


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.