|
Eclipse JDT Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
An execution environment describes capabilities of
a Java runtime environment (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| Method Summary | |
|---|---|
IAccessRule[][] |
getAccessRules(IVMInstall vm,
LibraryLocation[] libraries,
IJavaProject project)
Returns a collection of access rules to be applied to the specified VM libraries for this execution environment in the context of the given project. |
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. |
| Method Detail |
public String getId()
id attribute in plug-in XML.
public String getDescription()
public IVMInstall[] getCompatibleVMs()
public 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 install
public IVMInstall getDefaultVM()
null if none.
null if nonepublic void setDefaultVM(IVMInstall vm)
vm - vm to use by default for this execution environment,
or null to clear the default setting
IllegalArgumentException - if the given vm is not compatible with
this environment
public IAccessRule[][] getAccessRules(IVMInstall vm,
LibraryLocation[] libraries,
IJavaProject project)
libraries, possibly empty.
Access rules for an execution environment are defined by access rule participants
contributed in a org.eclipse.jdt.launching.executionEnvironments
extension.
vm - the vm that access rules are requested forlibraries - the libraries that access rules are requested forproject - the project the access rules are requested for or null if none
|
Eclipse JDT Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||