public class P2Utils extends Object
Constructor and Description |
---|
P2Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
delete(File root) |
static void |
dump(String message,
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units) |
static org.eclipse.equinox.p2.core.IProvisioningAgent |
getAgent() |
static Path |
getPath(org.eclipse.equinox.p2.metadata.IInstallableUnit unit) |
static String |
getSclNamespace(org.eclipse.equinox.p2.metadata.IInstallableUnit unit) |
static boolean |
isBundleShapeDir(org.eclipse.equinox.p2.metadata.IInstallableUnit u) |
static org.eclipse.equinox.p2.metadata.IInstallableUnit |
setPath(org.eclipse.equinox.p2.metadata.IInstallableUnit unit,
File path) |
static org.eclipse.equinox.p2.metadata.IInstallableUnit |
setProperty(org.eclipse.equinox.p2.metadata.IInstallableUnit unit,
String key,
String value) |
static org.eclipse.equinox.p2.metadata.IInstallableUnit |
setSclNamespace(org.eclipse.equinox.p2.metadata.IInstallableUnit unit,
String namespace) |
static String |
toString(org.eclipse.equinox.p2.metadata.IInstallableUnit unit) |
public static org.eclipse.equinox.p2.core.IProvisioningAgent getAgent() throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionException
public static org.eclipse.equinox.p2.metadata.IInstallableUnit setProperty(org.eclipse.equinox.p2.metadata.IInstallableUnit unit, String key, String value)
public static Path getPath(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
public static org.eclipse.equinox.p2.metadata.IInstallableUnit setPath(org.eclipse.equinox.p2.metadata.IInstallableUnit unit, File path)
public static String getSclNamespace(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
public static org.eclipse.equinox.p2.metadata.IInstallableUnit setSclNamespace(org.eclipse.equinox.p2.metadata.IInstallableUnit unit, String namespace)
public static String toString(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
public static boolean isBundleShapeDir(org.eclipse.equinox.p2.metadata.IInstallableUnit u)
public static void dump(String message, Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units)
public static void delete(File root)
Copyright © 2008–2023 Eclipse Foundation. All rights reserved.