Class PackedFormatMirroringArtifactProvider
- java.lang.Object
-
- org.eclipse.tycho.repository.local.MirroringArtifactProvider
-
- org.eclipse.tycho.repository.local.PackedFormatMirroringArtifactProvider
-
- All Implemented Interfaces:
org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>
,IArtifactFileProvider
,IArtifactProvider
,IRawArtifactFileProvider
,IRawArtifactProvider
final class PackedFormatMirroringArtifactProvider extends MirroringArtifactProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.tycho.repository.local.MirroringArtifactProvider
MirroringArtifactProvider.MirroringFailedException
-
-
Field Summary
-
Fields inherited from class org.eclipse.tycho.repository.local.MirroringArtifactProvider
localArtifactRepository, logger, monitor, remoteProviders, splittingLogger
-
-
Constructor Summary
Constructors Constructor Description PackedFormatMirroringArtifactProvider(LocalArtifactRepository localArtifactRepository, IRawArtifactProvider remoteProviders, MavenLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.runtime.IStatus
downloadMostSpecificNeededFormatOfArtifact(org.eclipse.equinox.p2.metadata.IArtifactKey key)
private org.eclipse.core.runtime.IStatus
downloadRawArtifact(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
private boolean
isAvailableLocally(org.eclipse.equinox.p2.metadata.IArtifactKey key)
protected boolean
makeOneFormatLocallyAvailable(org.eclipse.equinox.p2.metadata.IArtifactKey key)
-
Methods inherited from class org.eclipse.tycho.repository.local.MirroringArtifactProvider
contains, contains, createInstance, downloadArtifact, downloadCanonicalArtifact, findCanonicalDescriptor, findPackedDescriptor, getArtifact, getArtifactDescriptors, getArtifactFile, getArtifactFile, getRawArtifact, isFileAlreadyAvailable, monitorForDownload, query
-
-
-
-
Constructor Detail
-
PackedFormatMirroringArtifactProvider
PackedFormatMirroringArtifactProvider(LocalArtifactRepository localArtifactRepository, IRawArtifactProvider remoteProviders, MavenLogger logger)
-
-
Method Detail
-
makeOneFormatLocallyAvailable
protected boolean makeOneFormatLocallyAvailable(org.eclipse.equinox.p2.metadata.IArtifactKey key) throws MirroringArtifactProvider.MirroringFailedException, org.eclipse.equinox.p2.core.ProvisionException, ArtifactSinkException
- Overrides:
makeOneFormatLocallyAvailable
in classMirroringArtifactProvider
- Throws:
MirroringArtifactProvider.MirroringFailedException
org.eclipse.equinox.p2.core.ProvisionException
ArtifactSinkException
-
isAvailableLocally
private boolean isAvailableLocally(org.eclipse.equinox.p2.metadata.IArtifactKey key)
-
downloadMostSpecificNeededFormatOfArtifact
protected org.eclipse.core.runtime.IStatus downloadMostSpecificNeededFormatOfArtifact(org.eclipse.equinox.p2.metadata.IArtifactKey key) throws org.eclipse.equinox.p2.core.ProvisionException, ArtifactSinkException
- Overrides:
downloadMostSpecificNeededFormatOfArtifact
in classMirroringArtifactProvider
- Throws:
org.eclipse.equinox.p2.core.ProvisionException
ArtifactSinkException
-
downloadRawArtifact
private final org.eclipse.core.runtime.IStatus downloadRawArtifact(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) throws org.eclipse.equinox.p2.core.ProvisionException, ArtifactSinkException
- Throws:
org.eclipse.equinox.p2.core.ProvisionException
ArtifactSinkException
-
-