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 Repository
create(Path location)
static Repository
createTemp()
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>
getAllUnits()
org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
getArtifactRepository()
org.eclipse.equinox.p2.internal.repository.tools.RepositoryDescriptor
getDescripror()
Path
getLocation()
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository
getMetadataRepository()
static Repository
load(Path location)
-
-
-
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()
-
-