public class ExecutionEnvironmentUtils extends Object
Constructor and Description |
---|
ExecutionEnvironmentUtils() |
Modifier and Type | Method and 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() |
public static StandardExecutionEnvironment getExecutionEnvironment(String profileName) throws UnknownEnvironmentException
profileName
- profile name value as specified for key "Bundle-RequiredExecutionEnvironment" in
MANIFEST.MFExecutionEnvironment
.UnknownEnvironmentException
- if profileName is unknown.public static void applyProfileProperties(Properties properties, Properties profileProps)
Copyright © 2008–2016 Eclipse Foundation. All rights reserved.