Class Repository
- java.lang.Object
-
- org.fedoraproject.p2.installer.impl.Repository
-
public class Repository extends Object
- Author:
- Mikolaj Izdebski
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Repositorycreate(Path location)static RepositorycreateTemp()Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>getAllUnits()org.eclipse.equinox.p2.repository.artifact.IArtifactRepositorygetArtifactRepository()org.eclipse.equinox.p2.internal.repository.tools.RepositoryDescriptorgetDescripror()PathgetLocation()org.eclipse.equinox.p2.repository.metadata.IMetadataRepositorygetMetadataRepository()static Repositoryload(Path location)
-
-
-
Method Detail
-
createTemp
public static Repository createTemp() throws org.eclipse.equinox.p2.core.ProvisionException, IOException
- Throws:
org.eclipse.equinox.p2.core.ProvisionExceptionIOException
-
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()
-
-