|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.eclipse.jdt.launching.AbstractVMRunner
Abstract implementation of a VM runner.
Clients implementing VM runners should subclass this class.
IVMRunner| Constructor Summary | |
AbstractVMRunner()
|
|
| Method Summary | |
protected void |
abort(String message,
Throwable exception,
int code)
Throws a core exception with an error status object built from the given message, lower level exception, and error code. |
protected Process |
exec(String[] cmdLine,
File workingDirectory)
|
protected String |
getCmdLineAsString(String[] cmdLine)
Returns the given array of strings as a single space-delimited string. |
protected Map |
getDefaultProcessMap()
Returns the default process attribute map for java processes. |
protected abstract String |
getPluginIdentifier()
Returns the identifier of the plug-in this VM runner originated from. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jdt.launching.IVMRunner |
run |
| Constructor Detail |
public AbstractVMRunner()
| Method Detail |
protected void abort(String message,
Throwable exception,
int code)
throws CoreException
message - the status messageexception - lower level exception associated with the
error, or null if nonecode - error code
CoreExceptionprotected abstract String getPluginIdentifier()
protected Process exec(String[] cmdLine,
File workingDirectory)
throws CoreException
CoreExceptionDebugPlugin.exec(String[], File)protected String getCmdLineAsString(String[] cmdLine)
cmdLine - array of strings
protected Map getDefaultProcessMap()
|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||