| org.eclipse.jdt.launching.environments.IExecutionEnvironment
All known Subclasses: org.eclipse.jdt.internal.launching.environments.ExecutionEnvironment,
IExecutionEnvironment | public interface IExecutionEnvironment (Code) | | 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.
since: 3.2 See Also: IExecutionEnvironmentAnalyzerDelegate |
getAccessRules | public IAccessRule[][] getAccessRules(IVMInstall vm, LibraryLocation[] libraries, IJavaProject project)(Code) | | 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.
An array of access rules is returned for each library specified by
libraries , possibly empty.
Access rules for an execution environment are defined by access rule participants
contributed in a org.eclipse.jdt.launching.executionEnvironments
extension.
Parameters: vm - the vm that access rules are requested for Parameters: libraries - the libraries that access rules are requested for Parameters: project - the project the access rules are requested for or null if none a collection of arrays of access rules - one array per library since: 3.3 |
getCompatibleVMs | public IVMInstall[] getCompatibleVMs()(Code) | | Returns a collection of vm installs compatible with this environment,
possibly empty.
a collection of vm installs compatible with this environment,possibly empty. |
getDefaultVM | public IVMInstall getDefaultVM()(Code) | | Returns the vm that is used by default for this execution environment,
or null if none.
default vm for this environment or null if none |
getDescription | public String getDescription()(Code) | | Returns a brief human-readable description of this environment.
brief human-readable description of this environment. |
getId | public String getId()(Code) | | Returns a unique identifier for this execution environment.
Corresponds to the id attribute in plug-in XML.
unique identifier of this execution environment |
isStrictlyCompatible | public boolean isStrictlyCompatible(IVMInstall vm)(Code) | | Returns whether the specified vm install is strictly compatible with
this environment. Returns 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.
Parameters: vm - vm install whether the vm install is strictly compatible with this environment |
setDefaultVM | public void setDefaultVM(IVMInstall vm)(Code) | | Sets the vm to use by default for this execution environment.
Parameters: vm - vm to use by default for this execution environment,or null to clear the default setting exception: IllegalArgumentException - if the given vm is not compatible withthis environment |
|
|