Package editor.run
Class AbstractOutOfProcessExecutor<T extends IRunConfig>
java.lang.Object
editor.run.AbstractOutOfProcessExecutor<T>
- All Implemented Interfaces:
IProcessRunner<T>
- Direct Known Subclasses:
OutOfProcessDebug
,OutOfProcessRemote
,OutOfProcessRun
public abstract class AbstractOutOfProcessExecutor<T extends IRunConfig>
extends Object
implements IProcessRunner<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addExperimentPaths
(GosuPanel gosuPanel, StringBuilder classpath, String javaHomePath) private void
protected abstract String
exec()
void
protected GosuPanel
com.sun.jdi.VirtualMachine
getVm()
(package private) String
makeClasspath
(GosuPanel gosuPanel) (package private) String
makeClasspath
(GosuPanel gosuPanel, boolean bToolsJar) (package private) void
printLabMessage
(String message) protected void
setProcess
(Process process) void
setVm
(com.sun.jdi.VirtualMachine vm) (package private) int
waitFor()
-
Field Details
-
_runConfig
-
_runState
-
_process
-
_vm
private com.sun.jdi.VirtualMachine _vm
-
-
Constructor Details
-
AbstractOutOfProcessExecutor
-
-
Method Details
-
exec
- Throws:
Exception
-
getRunConfig
- Specified by:
getRunConfig
in interfaceIProcessRunner<T extends IRunConfig>
-
getRunState
- Specified by:
getRunState
in interfaceIProcessRunner<T extends IRunConfig>
-
getProcess
- Specified by:
getProcess
in interfaceIProcessRunner<T extends IRunConfig>
-
setProcess
-
getVm
public com.sun.jdi.VirtualMachine getVm()- Specified by:
getVm
in interfaceIProcessRunner<T extends IRunConfig>
-
setVm
public void setVm(com.sun.jdi.VirtualMachine vm) -
execute
- Specified by:
execute
in interfaceIProcessRunner<T extends IRunConfig>
-
waitFor
- Throws:
IOException
InterruptedException
-
captureErrorStream
- Throws:
IOException
-
makeClasspath
- Throws:
IOException
-
makeClasspath
- Throws:
IOException
-
addExperimentPaths
-
printLabMessage
-
getGosuPanel
-