Package | Description |
---|---|
org.eclipse.wst.jsdt.launching |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVMInstall
Abstract implementation of a VM install.
|
class |
StandardVM
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability.
|
class |
VMStandin
An implementation of IVMInstall that is used for manipulating VMs without necessarily
committing changes.
|
Modifier and Type | Method and Description |
---|---|
static IVMInstall |
JavaRuntime.computeVMInstall(ILaunchConfiguration configuration)
Returns the VM install for the given launch configuration.
|
IVMInstall |
VMStandin.convertToRealVM()
If no corresponding 'real' VM exists, create one and populate it from this standin instance.
|
IVMInstall |
IVMInstallType.createVMInstall(java.lang.String id)
Creates a new instance of this VM Install type.
|
IVMInstall |
AbstractVMInstallType.createVMInstall(java.lang.String id) |
protected IVMInstall |
StandardVMType.doCreateVMInstall(java.lang.String id) |
protected abstract IVMInstall |
AbstractVMInstallType.doCreateVMInstall(java.lang.String id)
Subclasses should return a new instance of the appropriate
IVMInstall subclass from this method. |
IVMInstall |
IVMInstallType.findVMInstall(java.lang.String id)
Finds the VM with the given id.
|
IVMInstall |
AbstractVMInstallType.findVMInstall(java.lang.String id) |
IVMInstall |
IVMInstallType.findVMInstallByName(java.lang.String name)
Finds the VM with the given name.
|
IVMInstall |
AbstractVMInstallType.findVMInstallByName(java.lang.String name) |
static IVMInstall |
JavaRuntime.getDefaultVMInstall()
Return the default VM set with
setDefaultVM() . |
static IVMInstall |
JavaRuntime.getVMFromCompositeId(java.lang.String idString)
Return the VM corresponding to the specified composite Id.
|
static IVMInstall |
JavaRuntime.getVMInstall(IJavaScriptProject project)
Returns the VM assigned to build the given JavaScript project.
|
static IVMInstall |
JavaRuntime.getVMInstall(IPath jreContainerPath)
Returns the JRE referenced by the specified JRE includepath container
path or
null if none. |
IVMInstall[] |
IVMInstallType.getVMInstalls()
Returns all VM instances managed by this VM type.
|
IVMInstall[] |
AbstractVMInstallType.getVMInstalls() |
static IVMInstall |
JREContainerInitializer.resolveVM(IPath containerPath)
Returns the VM install associated with the container path, or
null
if it does not exist. |
IVMInstall |
IRuntimeClasspathEntryResolver.resolveVMInstall(IIncludePathEntry entry)
Returns a VM install associated with the given includepath entry,
or
null if none. |
Modifier and Type | Method and Description |
---|---|
void |
IVMInstallChangedListener.defaultVMInstallChanged(IVMInstall previous,
IVMInstall current)
Notification that the workspace default VM install
has changed.
|
static void |
JavaRuntime.fireVMAdded(IVMInstall vm)
Notifies all VM install changed listeners of the VM addition
|
static void |
JavaRuntime.fireVMRemoved(IVMInstall vm)
Notifies all VM install changed listeners of the VM removal
|
static java.lang.String |
JavaRuntime.getCompositeIdFromVM(IVMInstall vm)
Returns a String that uniquely identifies the specified VM across all VM types.
|
static LibraryLocation[] |
JavaRuntime.getLibraryLocations(IVMInstall vm)
Evaluates library locations for a IVMInstall.
|
static IPath |
JavaRuntime.newJREContainerPath(IVMInstall vm)
Returns a path for the JRE includepath container identifying the
specified VM install by type and name.
|
static void |
JavaRuntime.setDefaultVMInstall(IVMInstall vm,
IProgressMonitor monitor)
Sets a VM as the system-wide default VM, and notifies registered VM install
change listeners of the change.
|
static void |
JavaRuntime.setDefaultVMInstall(IVMInstall vm,
IProgressMonitor monitor,
boolean savePreference)
Sets a VM as the system-wide default VM, and notifies registered VM install
change listeners of the change.
|
void |
IVMInstallChangedListener.vmAdded(IVMInstall vm)
Notification that a VM has been created.
|
void |
IVMInstallChangedListener.vmRemoved(IVMInstall vm)
Notification that a VM has been disposed.
|
Constructor and Description |
---|
JREContainer(IVMInstall vm,
IPath path)
Constructs a JRE includepath conatiner on the given VM install
|
VMStandin(IVMInstall realVM)
Construct a
VMStandin instance based on the specified IVMInstall . |
VMStandin(IVMInstall sourceVM,
java.lang.String id)
Constructs a copy of the specified VM with the given identifier.
|
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.