Class Repository


  • public class Repository
    extends Object
    Author:
    Mikolaj Izdebski
    • Method Detail

      • createTemp

        public static Repository createTemp()
                                     throws org.eclipse.equinox.p2.core.ProvisionException,
                                            IOException
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
        IOException
      • create

        public static Repository create​(Path location)
                                 throws org.eclipse.equinox.p2.core.ProvisionException
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
      • load

        public static Repository load​(Path location)
                               throws org.eclipse.equinox.p2.core.ProvisionException
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
      • getLocation

        public Path getLocation()
      • getArtifactRepository

        public org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getArtifactRepository()
      • getMetadataRepository

        public org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getMetadataRepository()
      • getDescripror

        public org.eclipse.equinox.p2.internal.repository.tools.RepositoryDescriptor getDescripror()
      • getAllUnits

        public Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getAllUnits()