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 theIndexUpdater
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ROLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
packIndex(IndexPackingRequest request)
Pack a context into a target directory.
-
-
-
Method Detail
-
packIndex
void packIndex(IndexPackingRequest request) throws java.io.IOException, java.lang.IllegalArgumentException
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:
java.lang.IllegalArgumentException
- when the targetDir already exists and is not a writable directory.java.io.IOException
- on lethal IO problem
-
-