Class IncludePaths
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.filter.IncludePaths
-
- All Implemented Interfaces:
Filter<ArchivePath>
public class IncludePaths extends Object implements Filter<ArchivePath>
IncludePaths Filter to include allArchivePath
s that match the given List of paths.- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description IncludePaths(String... paths)
IncludePaths(Collection<String> paths)
-
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
-
IncludePaths
public IncludePaths(String... paths)
-
IncludePaths
public IncludePaths(Collection<String> paths)
-
-
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
-
-