Class ExplodedExporterDelegate
java.lang.Object
org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate<File>
org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterDelegate
ExplodedExporterDelegate
Delegate used to export an archive into an exploded directory structure.
- Version:
- $Revision: $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExplodedExporterDelegate
(Archive<?> archive, File outputDirectory) Creates a new exploded exporter delegate for the providedArchive
-
Method Summary
Modifier and TypeMethodDescriptionprotected File
Return the results of the export.private void
processArchiveAsset
(File parentDirectory, ArchiveAsset nestedArchiveAsset) Processes a nested archive by delegating to the ExplodedArchiveExporterprotected void
processNode
(ArchivePath path, Node node) Template method for processing a single node.private File
validateOutputDirectory
(File outputDirectory) Initializes the output directoryMethods inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate
doExport, export, getArchive
-
Field Details
-
log
Logger -
outputDirectory
Output directory to write the exploded content to.
-
-
Constructor Details
-
ExplodedExporterDelegate
Creates a new exploded exporter delegate for the providedArchive
-
-
Method Details
-
processNode
Template method for processing a single node.- Specified by:
processNode
in classAbstractExporterDelegate<File>
- Parameters:
path
-node
-- See Also:
-
getResult
Return the results of the export. Should process any tasks required to finalize the export.- Specified by:
getResult
in classAbstractExporterDelegate<File>
- Returns:
- See Also:
-
processArchiveAsset
Processes a nested archive by delegating to the ExplodedArchiveExporter- Parameters:
parentDirectory
-nestedArchiveAsset
-
-
validateOutputDirectory
Initializes the output directory- Parameters:
baseDirectory
-directoryName
-- Returns:
-