Class ExcludePaths
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.filter.ExcludePaths
-
- All Implemented Interfaces:
Filter<ArchivePath>
public class ExcludePaths extends java.lang.Object implements Filter<ArchivePath>
IncludePaths Filter to exclude allArchivePaths that match the given List of paths.- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<java.lang.String>paths
-
Constructor Summary
Constructors Constructor Description ExcludePaths(java.lang.String... paths)ExcludePaths(java.util.Collection<java.lang.String> paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.Set<java.lang.String>adjust(java.lang.String... paths)booleaninclude(ArchivePath path)Called per operation in a multi add operation.
-
-
-
Method Detail
-
adjust
private java.util.Set<java.lang.String> adjust(java.lang.String... paths)
-
include
public boolean include(ArchivePath path)
Description copied from interface:FilterCalled per operation in a multi add operation.- Specified by:
includein interfaceFilter<ArchivePath>- Parameters:
path- a object to filter on- Returns:
- true if the object should be included in target
-
-