public interface IExecutionEnvironment
IVMInstall
).
An execution environment is contributed in plug-in XML via the
org.eclipse.jdt.launching.executionEnvironments
extension
point.
This interface is not intended to be implemented. Clients contributing execution environments may provide and implement execution environment analyzer delegates.
IExecutionEnvironmentAnalyzerDelegate
Modifier and Type | Method and Description |
---|---|
IVMInstall[] |
getCompatibleVMs()
Returns a collection of vm installs compatible with this environment,
possibly empty.
|
IVMInstall |
getDefaultVM()
Returns the vm that is used by default for this execution environment,
or
null if none. |
String |
getDescription()
Returns a brief human-readable description of this environment.
|
String |
getId()
Returns a unique identifier for this execution environment.
|
boolean |
isStrictlyCompatible(IVMInstall vm)
Returns whether the specified vm install is strictly compatible with
this environment.
|
void |
setDefaultVM(IVMInstall vm)
Sets the vm to use by default for this execution environment.
|
String getId()
id
attribute in plug-in XML.String getDescription()
IVMInstall[] getCompatibleVMs()
boolean isStrictlyCompatible(IVMInstall vm)
true
to indicate the vm install
is strictly compatible with this environment and false
to indicate
the vm install represents a superset of this environment.vm
- vm installIVMInstall getDefaultVM()
null
if none.null
if nonevoid setDefaultVM(IVMInstall vm)
vm
- vm to use by default for this execution environment,
or null
to clear the default settingIllegalArgumentException
- if the given vm is not compatible with
this environmentCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.