public class LinkRepository extends Repository
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.io.File> |
artifact_to_file |
private java.util.Map<java.lang.String,java.io.File> |
filesystem |
private java.util.Set<java.io.File> |
known |
private java.util.Map<java.lang.String,Artifact> |
snapshots |
cache
Constructor and Description |
---|
LinkRepository(java.io.File root) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
archive(Artifact artifact,
java.io.File file,
byte[] manifest) |
void |
filterLegacy(java.util.List<java.io.File> list) |
java.io.File |
getFile(java.lang.String path) |
Artifact |
resolve(Artifact artifact) |
create, create, equals, get, hashCode, replace, resolveAll
private java.util.Map<java.lang.String,java.io.File> artifact_to_file
private java.util.Map<java.lang.String,java.io.File> filesystem
private java.util.Map<java.lang.String,Artifact> snapshots
private java.util.Set<java.io.File> known
public java.io.File archive(Artifact artifact, java.io.File file, byte[] manifest)
archive
in class Repository
public void filterLegacy(java.util.List<java.io.File> list)
filterLegacy
in class Repository
public Artifact resolve(Artifact artifact)
resolve
in class Repository
public java.io.File getFile(java.lang.String path)
getFile
in class Repository