public final class Filters extends Object
Filter instances. Filter instances using this shorthand class will be
created using the ClassLoader associated with the default Domain's Configuration.| Modifier and Type | Method and Description |
|---|---|
static Filter<ArchivePath> |
exclude(Class<?>... classes)
|
static Filter<ArchivePath> |
exclude(Package... packages)
|
static Filter<ArchivePath> |
exclude(String regexp)
|
static Filter<ArchivePath> |
excludePaths(Collection<String> paths)
Filter that exclude all ArchivePaths that match the given List of paths. |
static Filter<ArchivePath> |
excludePaths(String... paths)
Filter that exclude all ArchivePaths that match the given List of paths. |
static Filter<ArchivePath> |
include(Class<?>... classes)
|
static Filter<ArchivePath> |
include(Package... packages)
|
static Filter<ArchivePath> |
include(String regexp)
|
static Filter<ArchivePath> |
includeAll()
Filter that includes all ArchivePaths. |
static Filter<ArchivePath> |
includePaths(Collection<String> paths)
Filer that include all ArchivePaths that match the given List of paths.. |
static Filter<ArchivePath> |
includePaths(String... paths)
Filer that include all ArchivePaths that match the given List of paths.. |
public static Filter<ArchivePath> includeAll()
Filter that includes all ArchivePaths.
Only meant to be used internally.Filter that always return truepublic static Filter<ArchivePath> include(String regexp)
regexp - The expression to includeFilterpublic static Filter<ArchivePath> exclude(String regexp)
regexp - The expression to excludeFilterpublic static Filter<ArchivePath> includePaths(String... paths)
Filer that include all ArchivePaths that match the given List of paths..paths - The paths to includedFilterpublic static Filter<ArchivePath> includePaths(Collection<String> paths)
Filer that include all ArchivePaths that match the given List of paths..paths - The paths to includedFilterpublic static Filter<ArchivePath> excludePaths(String... paths)
Filter that exclude all ArchivePaths that match the given List of paths.paths - The paths to excludeFilterpublic static Filter<ArchivePath> excludePaths(Collection<String> paths)
Filter that exclude all ArchivePaths that match the given List of paths.paths - The paths to excludeFilterpublic static Filter<ArchivePath> exclude(Package... packages)
packages - To be includedpublic static Filter<ArchivePath> include(Package... packages)
packages - To be excludedpublic static Filter<ArchivePath> include(Class<?>... classes)
classes - To be includedpublic static Filter<ArchivePath> exclude(Class<?>... classes)
classes - To be excludedCopyright © 2016 JBoss by Red Hat. All rights reserved.