Class DefaultEquinoxInstallationDescription
- java.lang.Object
-
- org.eclipse.sisu.equinox.launching.DefaultEquinoxInstallationDescription
-
- All Implemented Interfaces:
EquinoxInstallationDescription
public class DefaultEquinoxInstallationDescription extends Object implements EquinoxInstallationDescription
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultDependencyArtifacts
bundles
-
Fields inherited from interface org.eclipse.sisu.equinox.launching.EquinoxInstallationDescription
EQUINOX_LAUNCHER, EQUINOX_VERSION_3_3_0
-
-
Constructor Summary
Constructors Constructor Description DefaultEquinoxInstallationDescription()
-
Method Summary
-
-
-
Field Detail
-
bundles
protected final DefaultDependencyArtifacts bundles
-
-
Method Detail
-
addBundleStartLevel
public void addBundleStartLevel(BundleStartLevel level)
- Specified by:
addBundleStartLevel
in interfaceEquinoxInstallationDescription
-
getBundleStartLevel
public Map<String,BundleStartLevel> getBundleStartLevel()
- Specified by:
getBundleStartLevel
in interfaceEquinoxInstallationDescription
-
getDefaultBundleStartLevel
public BundleStartLevel getDefaultBundleStartLevel()
- Specified by:
getDefaultBundleStartLevel
in interfaceEquinoxInstallationDescription
-
setDefaultBundleStartLevel
public void setDefaultBundleStartLevel(BundleStartLevel defaultBundleStartLevel)
- Specified by:
setDefaultBundleStartLevel
in interfaceEquinoxInstallationDescription
-
getBundle
public ArtifactDescriptor getBundle(String symbolicName, String highestVersion)
- Specified by:
getBundle
in interfaceEquinoxInstallationDescription
-
getBundles
public List<ArtifactDescriptor> getBundles()
- Specified by:
getBundles
in interfaceEquinoxInstallationDescription
-
getSystemBundle
public ArtifactDescriptor getSystemBundle()
- Specified by:
getSystemBundle
in interfaceEquinoxInstallationDescription
-
addBundle
public void addBundle(ArtifactDescriptor artifact)
- Specified by:
addBundle
in interfaceEquinoxInstallationDescription
-
addBundle
public void addBundle(ArtifactKey key, File file)
- Specified by:
addBundle
in interfaceEquinoxInstallationDescription
-
addBundle
public void addBundle(ArtifactKey key, File file, boolean override)
- Specified by:
addBundle
in interfaceEquinoxInstallationDescription
-
addBundlesToExplode
public void addBundlesToExplode(List<String> bundlesToExplode)
- Specified by:
addBundlesToExplode
in interfaceEquinoxInstallationDescription
-
getBundlesToExplode
public Set<String> getBundlesToExplode()
- Specified by:
getBundlesToExplode
in interfaceEquinoxInstallationDescription
-
addFrameworkExtensions
public void addFrameworkExtensions(List<File> frameworkExtensions)
Description copied from interface:EquinoxInstallationDescription
This one is kinda odd, it reads bundle manifest to extract ArtifactKey.- Specified by:
addFrameworkExtensions
in interfaceEquinoxInstallationDescription
-
getFrameworkExtensions
public List<File> getFrameworkExtensions()
- Specified by:
getFrameworkExtensions
in interfaceEquinoxInstallationDescription
-
addPlatformProperty
public void addPlatformProperty(String property, String value)
- Specified by:
addPlatformProperty
in interfaceEquinoxInstallationDescription
-
getPlatformProperties
public Map<String,String> getPlatformProperties()
- Specified by:
getPlatformProperties
in interfaceEquinoxInstallationDescription
-
addDevEntries
public void addDevEntries(String id, String entries)
- Specified by:
addDevEntries
in interfaceEquinoxInstallationDescription
-
getDevEntries
public Map<String,String> getDevEntries()
- Specified by:
getDevEntries
in interfaceEquinoxInstallationDescription
-
-