ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.exporter
Class ExplodedExporterDelegate

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate<File>
      extended by org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterDelegate

public class ExplodedExporterDelegate
extends AbstractExporterDelegate<File>

ExplodedExporterDelegate Delegate used to export an archive into an exploded directory structure.

Version:
$Revision: $
Author:
John Bailey, Aslak Knutsen

Constructor Summary
ExplodedExporterDelegate(Archive<?> archive, File baseDirectory, String directoryName)
          Creates a new exploded exporter delegate for the provided Archive
 
Method Summary
protected  File getResult()
          Return the results of the export.
protected  void processNode(ArchivePath path, Node node)
          Template method for processing a single node.
 
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate
doExport, export, getArchive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplodedExporterDelegate

public ExplodedExporterDelegate(Archive<?> archive,
                                File baseDirectory,
                                String directoryName)
Creates a new exploded exporter delegate for the provided Archive

Method Detail

processNode

protected void processNode(ArchivePath path,
                           Node node)
Template method for processing a single node.

Specified by:
processNode in class AbstractExporterDelegate<File>
See Also:
AbstractExporterDelegate.processNode(ArchivePath, Node)

getResult

protected File getResult()
Return the results of the export. Should process any tasks required to finalize the export.

Specified by:
getResult in class AbstractExporterDelegate<File>
Returns:
See Also:
AbstractExporterDelegate.getResult()

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.