Class SimpleAggregatingDescriptorHandler

  • All Implemented Interfaces:
    ContainerDescriptorHandler, org.codehaus.plexus.archiver.ArchiveFinalizer, org.codehaus.plexus.components.io.fileselectors.FileSelector

    @Named("file-aggregator")
    public class SimpleAggregatingDescriptorHandler
    extends Object
    implements ContainerDescriptorHandler
    file-aggregator: Generic aggregating handler, configured with filePattern and outputPath.
    • Constructor Detail

      • SimpleAggregatingDescriptorHandler

        public SimpleAggregatingDescriptorHandler()
    • Method Detail

      • finalizeArchiveCreation

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

        public void finalizeArchiveExtraction​(org.codehaus.plexus.archiver.UnArchiver unarchiver)
        Specified by:
        finalizeArchiveExtraction 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​(org.codehaus.plexus.components.io.fileselectors.FileInfo fileInfo)
                           throws IOException
        Specified by:
        isSelected in interface org.codehaus.plexus.components.io.fileselectors.FileSelector
        Throws:
        IOException
      • getFilePattern

        public String getFilePattern()
      • setFilePattern

        public void setFilePattern​(String filePattern)
      • getOutputPath

        public String getOutputPath()
      • setOutputPath

        public void setOutputPath​(String outputPath)