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 ArchivePaths. |
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> 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 by Red Hat. All Rights Reserved.