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
ROLE
static final String ROLE
packIndex
void packIndex(IndexPackingRequest request)
throws IOException,
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:
context
- the context to pack-uptargetDir
- the directory where to write results, has to be non-null
- Throws:
IllegalArgumentException
- when the targetDir already exists and is not a writable directory.
IOException
- on lethal IO problem
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.