Package org.eclipse.tycho.core.ee
Class ExecutionEnvironmentUtils
- java.lang.Object
-
- org.eclipse.tycho.core.ee.ExecutionEnvironmentUtils
-
public class ExecutionEnvironmentUtils extends Object
Creative copy&paste from org.eclipse.osgi.framework.internal.core.Framework- Author:
- eclipse.org, igor
-
-
Constructor Summary
Constructors Constructor Description ExecutionEnvironmentUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
applyProfileProperties(Properties properties, Properties profileProps)
static StandardExecutionEnvironment
getExecutionEnvironment(String profileName)
Get the execution environment for the specified OSGi profile name.static List<String>
getProfileNames()
-
-
-
Method Detail
-
getExecutionEnvironment
public static StandardExecutionEnvironment getExecutionEnvironment(String profileName) throws UnknownEnvironmentException
Get the execution environment for the specified OSGi profile name.- Parameters:
profileName
- profile name value as specified for key "Bundle-RequiredExecutionEnvironment" in MANIFEST.MF- Returns:
- the corresponding
ExecutionEnvironment
. - Throws:
UnknownEnvironmentException
- if profileName is unknown.
-
applyProfileProperties
public static void applyProfileProperties(Properties properties, Properties profileProps)
-
-