ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.filter
Class ExcludeRegExpPaths

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.filter.ExcludeRegExpPaths
All Implemented Interfaces:
Filter<ArchivePath>

public class ExcludeRegExpPaths
extends Object
implements Filter<ArchivePath>

IncludeRegExpPath Filter to exclude all ArchivePaths that match a given Regular Expression.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ExcludeRegExpPaths(String expression)
           
 
Method Summary
 boolean include(ArchivePath path)
          Called per operation in a multi add operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludeRegExpPaths

public ExcludeRegExpPaths(String expression)
Method Detail

include

public boolean include(ArchivePath path)
Description copied from interface: Filter
Called per operation in a multi add operation.

Specified by:
include in interface Filter<ArchivePath>
Parameters:
path - a object to filter on
Returns:
true if the object should be included in target

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.