Package org.apache.maven.index.packer
Interface IndexPacker
- All Known Implementing Classes:
DefaultIndexPacker
public interface IndexPacker
An index packer used to create transfer index format that can be used by the
IndexUpdater
.- Author:
- Tamas Cservenak
-
Method Summary
Modifier and TypeMethodDescriptionvoid
packIndex
(IndexPackingRequest request) Pack a context into a target directory.
-
Method Details
-
packIndex
Pack a context into a target directory. If the directory does not exists, it will be created. If the directory exists, it should be writable.- Parameters:
request
- the request to process.- Throws:
IllegalArgumentException
- when the targetDir already exists and is not a writable directory.IOException
- on lethal IO problem
-