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 ArchivePath s that match the given List of paths. |
static Filter<ArchivePath> |
excludePaths(String... paths)
Filter that exclude all ArchivePath s 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 ArchivePath s. |
static Filter<ArchivePath> |
includePaths(Collection<String> paths)
Filer that include all ArchivePath s that match the given List of paths.. |
static Filter<ArchivePath> |
includePaths(String... paths)
Filer that include all ArchivePath s that match the given List of paths.. |
public static Filter<ArchivePath> includeAll()
Filter
that includes all ArchivePath
s.
Only meant to be used internally.Filter
that always return truepublic static Filter<ArchivePath> include(String regexp)
regexp
- The expression to includeFilter
public static Filter<ArchivePath> exclude(String regexp)
regexp
- The expression to excludeFilter
public static Filter<ArchivePath> includePaths(String... paths)
Filer
that include all ArchivePath
s that match the given List of paths..paths
- The paths to includedFilter
public static Filter<ArchivePath> includePaths(Collection<String> paths)
Filer
that include all ArchivePath
s that match the given List of paths..paths
- The paths to includedFilter
public static Filter<ArchivePath> excludePaths(String... paths)
Filter
that exclude all ArchivePath
s that match the given List of paths.paths
- The paths to excludeFilter
public static Filter<ArchivePath> excludePaths(Collection<String> paths)
Filter
that exclude all ArchivePath
s that match the given List of paths.paths
- The paths to excludeFilter
public 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.