|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.mrm.api.maven.BaseArtifactStore
org.codehaus.mojo.mrm.impl.maven.MemoryArtifactStore
public class MemoryArtifactStore
An artifact store that keeps all its artifacts in memory.
| Constructor Summary | |
|---|---|
MemoryArtifactStore()
|
|
| Method Summary | |
|---|---|
InputStream |
get(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
|
Set |
getArtifactIds(String groupId)
|
Set |
getArtifacts(String groupId,
String artifactId,
String version)
|
Set |
getGroupIds(String parentGroupId)
|
long |
getLastModified(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
|
org.apache.maven.artifact.repository.metadata.Metadata |
getMetadata(String path)
|
long |
getMetadataLastModified(String path)
|
long |
getSize(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
|
Set |
getVersions(String groupId,
String artifactId)
|
void |
set(org.codehaus.mojo.mrm.api.maven.Artifact artifact,
InputStream content)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryArtifactStore()
| Method Detail |
|---|
public Set getGroupIds(String parentGroupId)
getGroupIds in interface org.codehaus.mojo.mrm.api.maven.ArtifactStorepublic Set getArtifactIds(String groupId)
getArtifactIds in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
public Set getVersions(String groupId,
String artifactId)
getVersions in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
public Set getArtifacts(String groupId,
String artifactId,
String version)
getArtifacts in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
public long getLastModified(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
throws IOException,
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
getLastModified in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreIOException
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
public long getSize(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
throws IOException,
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
getSize in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreIOException
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
public InputStream get(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
throws IOException,
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
get in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreIOException
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
public void set(org.codehaus.mojo.mrm.api.maven.Artifact artifact,
InputStream content)
throws IOException
set in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreset in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStoreIOException
public org.apache.maven.artifact.repository.metadata.Metadata getMetadata(String path)
throws IOException,
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
getMetadata in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreIOException
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
public long getMetadataLastModified(String path)
throws IOException,
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
getMetadataLastModified in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreIOException
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||