|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a particular installation of a VM. A VM instance holds all parameters specific to a VM installation. Unlike VM types, VM instances can be created and configured dynamically at run-time. This is typically done by the user interactively in the UI.
A VM install is responsible for creating VM runners to launch a Java program in a specific mode.
This interface is intended to be implemented by clients that contribute
to the "org.eclipse.jdt.launching.vmType"
extension point.
Method Summary | |
String |
getId()
Returns the id for this VM. |
File |
getInstallLocation()
Returns the root directory of the install location of this VM. |
URL |
getJavadocLocation()
Returns the Javadoc location associated with this VM install. |
LibraryLocation[] |
getLibraryLocations()
Returns the library locations of this IVMInstall. |
String |
getName()
Returns the display name of this VM. |
IVMInstallType |
getVMInstallType()
Returns the VM type of this VM. |
IVMRunner |
getVMRunner(String mode)
Returns a VM runner that runs this installed VM in the given mode. |
void |
setInstallLocation(File installLocation)
Sets the root directory of the install location of this VM. |
void |
setJavadocLocation(URL url)
Sets the Javadoc location associated with this VM install. |
void |
setLibraryLocations(LibraryLocation[] locations)
Sets the library locations of this IVMInstall. |
void |
setName(String name)
Sets the display name of this VM. |
Method Detail |
public IVMRunner getVMRunner(String mode)
mode
- the mode the VM should be launched in; one of the constants
declared in org.eclipse.debug.core.ILaunchManager
null
if the given mode
is not supported by this VM.ILaunchManager
public String getId()
null
.public String getName()
null
.public void setName(String name)
name
- the display name of this VMpublic File getInstallLocation()
null
.public void setInstallLocation(File installLocation)
installLocation
- the root directory of this VM installationpublic IVMInstallType getVMInstallType()
public LibraryLocation[] getLibraryLocations()
JavaRuntime.getLibraryLocations(IVMInstall)
to determine the libraries associated with this VM install.
null
to indicate that this VM install uses
the default library locations associated with this VM's install type.setLibraryLocations(LibraryLocation[])
public void setLibraryLocations(LibraryLocation[] locations)
locations
- The LibraryLocation
s to associate
with this IVMInstall.
May be null
to indicate that this VM install uses
the default library locations associated with this VM's install type.public void setJavadocLocation(URL url)
url
- a url pointing to the Javadoc location associated with
this VM installpublic URL getJavadocLocation()
null
if none
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |