Class IncludeRegExpPaths
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.filter.IncludeRegExpPaths
-
- All Implemented Interfaces:
Filter<ArchivePath>
public class IncludeRegExpPaths extends Object implements Filter<ArchivePath>
IncludeRegExpPath Filter to include allArchivePath
s that match a given Regular Expression.- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description IncludeRegExpPaths(String expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
include(ArchivePath path)
Called per operation in a multi add operation.
-
-
-
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 interfaceFilter<ArchivePath>
- Parameters:
path
- a object to filter on- Returns:
- true if the object should be included in target
-
-