public class P2RepositoryTool extends Object
Modifier and Type | Class and Description |
---|---|
class |
P2RepositoryTool.IU |
Modifier and Type | Method and Description |
---|---|
File |
findFeatureArtifact(String featureId) |
static P2RepositoryTool |
forEclipseRepositoryModule(File projectRootFolder) |
List<String> |
getAllProvidedPackages() |
List<String> |
getAllUnitIds() |
File |
getBundleArtifact(String bundleId,
String version) |
File |
getFeatureArtifact(String featureId,
String version) |
P2RepositoryTool.IU |
getUniqueIU(String unitId)
Returns the unique IUs with the given ID.
|
List<String> |
getUnitVersions(String unitId) |
public static P2RepositoryTool forEclipseRepositoryModule(File projectRootFolder)
public List<String> getUnitVersions(String unitId) throws Exception
Exception
public P2RepositoryTool.IU getUniqueIU(String unitId) throws Exception
null
.AssertionError
- unless there is exactly one IU with the given unitId.Exception
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.