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> |
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. |
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> 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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.