Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-03-08 17:17:36 -0500
committerAndrew Niefer2010-03-08 17:17:36 -0500
commitf161eb55f9d01ffdcd4fda1b21a800a87f351a99 (patch)
treeb1f6e49c933f57448b57cad8f405378b5487c4c9 /bundles/org.eclipse.equinox.p2.directorywatcher
parentd901bbc39b89d539c6d807ebc59c41e5ef8eb827 (diff)
downloadrt.equinox.p2-f161eb55f9d01ffdcd4fda1b21a800a87f351a99.tar.gz
rt.equinox.p2-f161eb55f9d01ffdcd4fda1b21a800a87f351a99.tar.xz
rt.equinox.p2-f161eb55f9d01ffdcd4fda1b21a800a87f351a99.zip
bug 305069 - IArtifactKey api
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.directorywatcher')
-rw-r--r--bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java
index c6ea72751..49d0dd49f 100644
--- a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java
@@ -17,6 +17,7 @@ import org.eclipse.core.runtime.*;
import org.eclipse.equinox.internal.p2.metadata.expression.CompoundIterator;
import org.eclipse.equinox.p2.core.IProvisioningAgent;
import org.eclipse.equinox.p2.metadata.IArtifactKey;
+import org.eclipse.equinox.p2.metadata.Version;
import org.eclipse.equinox.p2.query.*;
import org.eclipse.equinox.p2.repository.artifact.*;
import org.eclipse.equinox.p2.repository.artifact.spi.ArtifactDescriptor;
@@ -232,6 +233,10 @@ public class CachingArtifactRepository implements IArtifactRepository, IFileArti
return innerRepo.createArtifactDescriptor(key);
}
+ public IArtifactKey createArtifactKey(String classifier, String id, Version version) {
+ return innerRepo.createArtifactKey(classifier, id, version);
+ }
+
public IQueryable<IArtifactDescriptor> descriptorQueryable() {
final Collection<List<IArtifactDescriptor>> descs = artifactMap.values();
IQueryable<IArtifactDescriptor> cached = new IQueryable<IArtifactDescriptor>() {

Back to the top