Class ExcludeRegExpPaths

java.lang.Object
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: $
  • Field Details

    • expression

      private String expression
  • Constructor Details

    • ExcludeRegExpPaths

      public ExcludeRegExpPaths(String expression)
  • Method Details

    • 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