|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Optional extensions that may be implemented by an
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 IVMInstall
may additionally
implement this interface. However, it is strongly recommended that clients subclass
AbstractVMInstall
instead, which already implements
this interface, and will insulate clients from additional API additions in the future.
Method Summary | |
---|---|
String |
getJavaVersion()
Returns a string representing the java.version system property
of this VM install, or null if unknown. |
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. |
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 . |
Method Detail |
public String getVMArgs()
null
if none.
null
if nonepublic void setVMArgs(String vmArgs)
null
.
vmArgs
- VM arguments to be used with this vm install whenever this
VM is launched as a raw string, possibly null
public String getJavaVersion()
java.version
system property
of this VM install, or null
if unknown.
java.version
system property
of this VM install, or null
if unknown.
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |