org.apache.maven.plugin.assembly.filter
Class ComponentsXmlArchiverFileFilter

java.lang.Object
  extended by org.apache.maven.plugin.assembly.filter.ComponentsXmlArchiverFileFilter
All Implemented Interfaces:
ContainerDescriptorHandler, org.codehaus.plexus.archiver.ArchiveFinalizer, org.codehaus.plexus.components.io.fileselectors.FileSelector

@Component(role=ContainerDescriptorHandler.class,
           hint="plexus",
           instantiationStrategy="per-lookup")
public class ComponentsXmlArchiverFileFilter
extends Object
implements ContainerDescriptorHandler

Components XML file filter.

Version:
$Id: ComponentsXmlArchiverFileFilter.java 1642461 2014-11-29 18:26:36Z krosenvold $
Author:
Brett Porter

Field Summary
static String COMPONENTS_XML_PATH
           
 
Fields inherited from interface org.codehaus.plexus.components.io.fileselectors.FileSelector
DEFAULT_ROLE_HINT, ROLE
 
Constructor Summary
ComponentsXmlArchiverFileFilter()
           
 
Method Summary
 void finalizeArchiveCreation(org.codehaus.plexus.archiver.Archiver archiver)
           
 void finalizeArchiveExtraction(org.codehaus.plexus.archiver.UnArchiver unarchiver)
           
 List<String> getVirtualFiles()
           
 boolean isSelected(org.codehaus.plexus.components.io.fileselectors.FileInfo fileInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENTS_XML_PATH

public static final String COMPONENTS_XML_PATH
See Also:
Constant Field Values
Constructor Detail

ComponentsXmlArchiverFileFilter

public ComponentsXmlArchiverFileFilter()
Method Detail

finalizeArchiveCreation

public void finalizeArchiveCreation(org.codehaus.plexus.archiver.Archiver archiver)
Specified by:
finalizeArchiveCreation in interface org.codehaus.plexus.archiver.ArchiveFinalizer

getVirtualFiles

public List<String> getVirtualFiles()
Specified by:
getVirtualFiles in interface org.codehaus.plexus.archiver.ArchiveFinalizer

isSelected

public boolean isSelected(@Nonnull
                          org.codehaus.plexus.components.io.fileselectors.FileInfo fileInfo)
                   throws IOException
Specified by:
isSelected in interface org.codehaus.plexus.components.io.fileselectors.FileSelector
Throws:
IOException

finalizeArchiveExtraction

public void finalizeArchiveExtraction(org.codehaus.plexus.archiver.UnArchiver unarchiver)
Specified by:
finalizeArchiveExtraction in interface org.codehaus.plexus.archiver.ArchiveFinalizer


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.