| org.eclipse.jdt.launching.IVMInstall2
All known Subclasses: org.eclipse.jdt.launching.AbstractVMInstall,
IVMInstall2 | public interface IVMInstall2 (Code) | | Optional extensions that may be implemented by an
org.eclipse.jdt.launching.IVMInstall .
When an IVMInstall implements this interface,
clients must call getVMArgs() in place of
getVMArguments() and setVMArgs(String) in place of
setVMArguments(String[]) . This avoids the problem noted
in bug 73493.
Additionally, this interface optionally provides the Java version
associated with a VM install.
Clients that implement
org.eclipse.jdt.launching.IVMInstall may additionally
implement this interface. However, it is strongly recommended that clients subclass
org.eclipse.jdt.launching.AbstractVMInstall instead, which already implements
this interface, and will insulate clients from additional API additions in the future.
since: 3.1 |
Method Summary | |
public String | getJavaVersion() Returns a string representing the java.version system property
of this VM install, or null if unknown. | public String | getVMArgs() Returns VM arguments to be used with this vm install whenever this
VM is launched as a raw string, or null if none. | public void | setVMArgs(String vmArgs) Sets VM arguments to be used with this vm install whenever this
VM is launched as a raw string, possibly null . |
getJavaVersion | public String getJavaVersion()(Code) | | Returns a string representing the java.version system property
of this VM install, or null if unknown.
a string representing the java.version system propertyof this VM install, or null if unknown. |
getVMArgs | public String getVMArgs()(Code) | | Returns VM arguments to be used with this vm install whenever this
VM is launched as a raw string, or null if none.
VM arguments to be used with this vm install whenever thisVM is launched as a raw string, or null if none |
setVMArgs | public void setVMArgs(String vmArgs)(Code) | | Sets VM arguments to be used with this vm install whenever this
VM is launched as a raw string, possibly null .
Parameters: vmArgs - VM arguments to be used with this vm install whenever thisVM is launched as a raw string, possibly null |
|
|