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

This is probably an oversight. I have opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=301305

Inactive hide details for Thomas M Houser ---29/01/2010 01:47:19 PM---I have implemented a subclass of AbstractArtifactRepositoThomas M Houser ---29/01/2010 01:47:19 PM---I have implemented a subclass of AbstractArtifactRepository that provides readonly access to a repository. It appears that the


From:

Thomas M Houser <tmhouser@xxxxxxxxxx>

To:

p2-dev@xxxxxxxxxxx

Date:

29/01/2010 01:47 PM

Subject:

[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?_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image