@Component(role=org.apache.maven.plugins.assembly.filter.ContainerDescriptorHandler.class,
hint="swid-generator",
instantiationStrategy="per-lookup")
public class SwidContainerDescriptorHandler
extends Object
implements org.apache.maven.plugins.assembly.filter.ContainerDescriptorHandler
| Constructor and Description |
|---|
SwidContainerDescriptorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeArchiveCreation(org.codehaus.plexus.archiver.Archiver archiver) |
void |
finalizeArchiveExtraction(org.codehaus.plexus.archiver.UnArchiver unarchiver) |
String[] |
getExcludes()
Get the set of exscluded files.
|
String[] |
getIncludes()
Get the set of inscluded files.
|
protected File |
getSwidTagFile()
Determine the path to the SWID tag file and create any directories in this path.
|
String |
getTagName() |
File |
getTagOutputDirectory()
Retrieves the directory to write the tag to when building it.
|
String |
getTagPath()
Retrieves the path for where the tag is stored.
|
List<?> |
getVirtualFiles() |
boolean |
isSelected(org.codehaus.plexus.components.io.fileselectors.FileInfo fileInfo) |
public String[] getIncludes()
public String[] getExcludes()
public File getTagOutputDirectory()
public String getTagPath()
public String getTagName()
protected File getSwidTagFile() throws org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.ArchiverException - if an error occurred while creating directoriespublic void finalizeArchiveCreation(org.codehaus.plexus.archiver.Archiver archiver)
throws org.codehaus.plexus.archiver.ArchiverException
finalizeArchiveCreation in interface org.codehaus.plexus.archiver.ArchiveFinalizerorg.codehaus.plexus.archiver.ArchiverExceptionpublic void finalizeArchiveExtraction(org.codehaus.plexus.archiver.UnArchiver unarchiver)
throws org.codehaus.plexus.archiver.ArchiverException
finalizeArchiveExtraction in interface org.codehaus.plexus.archiver.ArchiveFinalizerorg.codehaus.plexus.archiver.ArchiverExceptionpublic List<?> getVirtualFiles()
getVirtualFiles in interface org.codehaus.plexus.archiver.ArchiveFinalizerpublic boolean isSelected(org.codehaus.plexus.components.io.fileselectors.FileInfo fileInfo)
throws IOException
isSelected in interface org.codehaus.plexus.components.io.fileselectors.FileSelectorIOExceptionCopyright © 2020 National Institute of Standards and Technology. All rights reserved.