ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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

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

public class IncludeRegExpPaths
extends Object
implements Filter<ArchivePath>

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

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
IncludeRegExpPaths(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

IncludeRegExpPaths

public IncludeRegExpPaths(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.