Class ExcludePaths

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

public class ExcludePaths extends Object implements Filter<ArchivePath>
IncludePaths Filter to exclude all ArchivePaths that match the given List of paths.
Version:
$Revision: $
  • Field Details

  • Constructor Details

    • ExcludePaths

      public ExcludePaths(String... paths)
    • ExcludePaths

      public ExcludePaths(Collection<String> paths)
  • Method Details

    • adjust

      private Set<String> adjust(String... paths)
    • 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