|
Eclipse JDT 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.eclipse.jdt.launching.AbstractVMInstall
Abstract implementation of a VM install.
Clients implenmenting VM installs should subclass this class.
| Constructor Summary | |
AbstractVMInstall(IVMInstallType type,
String id)
Constructs a new VM install. |
|
| Method Summary | |
boolean |
equals(Object object)
|
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. |
int |
hashCode()
|
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. |
protected void |
setNotify(boolean notify)
Whether this VM should fire property change notifications. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractVMInstall(IVMInstallType type,
String id)
type - The type of this VM install.
Must not be nullid - The unique identifier of this VM instance
Must not be null.IllegalArgumentException - if any of the required
parameters are null.| Method Detail |
public String getId()
IVMInstallgetId in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallnull.public String getName()
IVMInstallgetName in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallnull.public void setName(String name)
IVMInstallsetName in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallname - the display name of this VMpublic File getInstallLocation()
IVMInstallgetInstallLocation in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallnull.public void setInstallLocation(File installLocation)
IVMInstallsetInstallLocation in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallinstallLocation - the root directory of this VM installationpublic IVMInstallType getVMInstallType()
IVMInstallgetVMInstallType in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallpublic IVMRunner getVMRunner(String mode)
IVMInstallgetVMRunner in interface IVMInstallorg.eclipse.jdt.launching.IVMInstallmode - the mode the VM should be launched in; one of the constants
declared in org.eclipse.debug.core.ILaunchManagernull if the given mode
is not supported by this VM.ILaunchManagerpublic LibraryLocation[] getLibraryLocations()
IVMInstallJavaRuntime.getLibraryLocations(IVMInstall)
to determine the libraries associated with this VM install.getLibraryLocations in interface IVMInstallIVMInstall.getLibraryLocations()public void setLibraryLocations(LibraryLocation[] locations)
IVMInstallsetLibraryLocations in interface IVMInstallIVMInstall.setLibraryLocations(LibraryLocation[])public URL getJavadocLocation()
IVMInstallgetJavadocLocation in interface IVMInstallIVMInstall.getJavadocLocation()public void setJavadocLocation(URL url)
IVMInstallsetJavadocLocation in interface IVMInstallIVMInstall.setJavadocLocation(URL)protected void setNotify(boolean notify)
notify - public boolean equals(Object object)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
Eclipse JDT 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||