public class ExecutionEnvironmentExtension extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_NAME
Extension name containing the execution environment.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionEnvironmentExtension |
getExecutionEnvironmentExtension(Extension ext)
Get the execution environment from the extension.
|
static ExecutionEnvironmentExtension |
getExecutionEnvironmentExtension(Feature feature)
Get the execution environment from the feature - if it exists.
|
Artifact |
getFramework()
Get the specified framework
|
String |
getJavaOptions()
Get the specified java options
|
org.osgi.framework.Version |
getJavaVersion()
Get the specified java version
|
public static final String EXTENSION_NAME
ExtensionType.JSON and is optional.public static ExecutionEnvironmentExtension getExecutionEnvironmentExtension(Feature feature)
feature - The featurenull.IllegalArgumentException - If the extension is wrongly formattedpublic static ExecutionEnvironmentExtension getExecutionEnvironmentExtension(Extension ext)
ext - The extensionnull.IllegalArgumentException - If the extension is wrongly formattedpublic Artifact getFramework()
nullpublic org.osgi.framework.Version getJavaVersion()
nullpublic String getJavaOptions()
nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.