Package | Description |
---|---|
org.jboss.shrinkwrap.api | |
org.jboss.shrinkwrap.api.container | |
org.jboss.shrinkwrap.api.importer |
Modifier and Type | Method and Description |
---|---|
static Filter<ArchivePath> |
Filters.exclude(Class<?>... classes)
|
static Filter<ArchivePath> |
Filters.exclude(Package... packages)
|
static Filter<ArchivePath> |
Filters.exclude(String regexp)
|
static Filter<ArchivePath> |
Filters.include(Class<?>... classes)
|
static Filter<ArchivePath> |
Filters.include(Package... packages)
|
static Filter<ArchivePath> |
Filters.include(String regexp)
|
static Filter<ArchivePath> |
Filters.includeAll()
Filter that includes all ArchivePath s. |
Modifier and Type | Method and Description |
---|---|
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested
Archive matching the filter as a specific type.The found Archives must have been added as a Archive, no import is performed. |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
Map<ArchivePath,Node> |
Archive.getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.
|
T |
Archive.merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
T |
Archive.merge(Archive<?> source,
Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.
|
T |
Archive.merge(Archive<?> source,
String path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
Modifier and Type | Method and Description |
---|---|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
|
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
|
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
|
Modifier and Type | Method and Description |
---|---|
ExplodedImporter |
ExplodedImporter.importDirectory(File file,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
ExplodedImporter |
ExplodedImporter.importDirectory(String fileName,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.