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 FileReturn the results of the export.private voidprocessArchiveAsset(File parentDirectory, ArchiveAsset nestedArchiveAsset) Processes a nested archive by delegating to the ExplodedArchiveExporterprotected voidprocessNode(ArchivePath path, Node node) Template method for processing a single node.private FilevalidateOutputDirectory(File outputDirectory) Initializes the output directoryMethods inherited from class AbstractExporterDelegate
doExport, export, getArchive
-
Field Details
-
log
Logger -
outputDirectory
Output directory to write the exploded content to.
-
-
Constructor Details
-
ExplodedExporterDelegate
-
-
Method Details
-
processNode
Template method for processing a single node.- Specified by:
processNodein 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:
getResultin classAbstractExporterDelegate<File>- Returns:
- See Also:
-
processArchiveAsset
Processes a nested archive by delegating to the ExplodedArchiveExporter- Parameters:
parentDirectory-nestedArchiveAsset-
-
validateOutputDirectory
-