Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] AbstractArtifactRepository subclass implementation requires use of non-API ArtifactRequest


I have implemented a subclass of AbstractArtifactRepository that provides readonly access to a repository.  It appears that the only way to implement the getArtifacts(IArtifactRequest[]) method is to reference the non-API class ArtifactRequest.  That is, the ArtifactRequest methods setSourceRepository(IArtifactRepository) and perform(IProgressMonitor) must be called (see the default SimpleArtifactRepository subclass to see what I mean).  Why aren't these methods available in the IArtifactRequest interface?

Back to the top