Class SupplierMetadataRepository

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.equinox.p2.repository.spi.AbstractRepository<org.eclipse.equinox.p2.metadata.IInstallableUnit>
org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository
org.eclipse.tycho.p2.target.repository.SupplierMetadataRepository
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IInstallableUnit>, org.eclipse.equinox.p2.repository.IRepository<org.eclipse.equinox.p2.metadata.IInstallableUnit>, org.eclipse.equinox.p2.repository.metadata.IMetadataRepository

public final class SupplierMetadataRepository extends org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository

    org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository.RepositoryState
  • Field Summary

    Fields inherited from interface org.eclipse.equinox.p2.repository.IRepository

    ENABLED, NONE, PREFERENCE_NODE, PROP_COMPRESSED, PROP_DESCRIPTION, PROP_MIRRORS_BASE_URL, PROP_MIRRORS_URL, PROP_NAME, PROP_NICKNAME, PROP_PASSWORD, PROP_SYSTEM, PROP_TIMESTAMP, PROP_USERNAME, TYPE_ARTIFACT, TYPE_METADATA
  • Constructor Summary

    Constructors
    Constructor
    Description
    SupplierMetadataRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent, Supplier<Iterator<org.eclipse.equinox.p2.metadata.IInstallableUnit>> unitprovider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.eclipse.equinox.p2.repository.IRepositoryReference>
     
    void
    initialize(org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository.RepositoryState state)
     
    org.eclipse.equinox.p2.query.IQueryResult<org.eclipse.equinox.p2.metadata.IInstallableUnit>
    query(org.eclipse.equinox.p2.query.IQuery<org.eclipse.equinox.p2.metadata.IInstallableUnit> query, org.eclipse.core.runtime.IProgressMonitor monitor)
     
    void
    setLocation(URI location)
     

    Methods inherited from class org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository

    addInstallableUnits, addReferences, compress, executeBatch, removeAll, removeInstallableUnits

    Methods inherited from class org.eclipse.equinox.p2.repository.spi.AbstractRepository

    assertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setDescription, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersion

    Methods inherited from class org.eclipse.core.runtime.PlatformObject

    getAdapter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter

    Methods inherited from interface org.eclipse.equinox.p2.repository.IRepository

    getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setProperty, setProperty
  • Constructor Details

    • SupplierMetadataRepository

      public SupplierMetadataRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent, Supplier<Iterator<org.eclipse.equinox.p2.metadata.IInstallableUnit>> unitprovider)
  • Method Details

    • getReferences

      public Collection<org.eclipse.equinox.p2.repository.IRepositoryReference> getReferences()
    • query

      public org.eclipse.equinox.p2.query.IQueryResult<org.eclipse.equinox.p2.metadata.IInstallableUnit> query(org.eclipse.equinox.p2.query.IQuery<org.eclipse.equinox.p2.metadata.IInstallableUnit> query, org.eclipse.core.runtime.IProgressMonitor monitor)
    • initialize

      public void initialize(org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository.RepositoryState state)
      Specified by:
      initialize in class org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository
    • setLocation

      public void setLocation(URI location)
      Overrides:
      setLocation in class org.eclipse.equinox.p2.repository.spi.AbstractRepository<org.eclipse.equinox.p2.metadata.IInstallableUnit>