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 voidaddExperimentPaths(GosuPanel gosuPanel, StringBuilder classpath, String javaHomePath) private voidprotected abstract Stringexec()voidprotected GosuPanelcom.sun.jdi.VirtualMachinegetVm()(package private) StringmakeClasspath(GosuPanel gosuPanel) (package private) StringmakeClasspath(GosuPanel gosuPanel, boolean bToolsJar) (package private) voidprintLabMessage(String message) protected voidsetProcess(Process process) voidsetVm(com.sun.jdi.VirtualMachine vm) (package private) intwaitFor()
-
Field Details
-
_runConfig
-
_runState
-
_process
-
_vm
private com.sun.jdi.VirtualMachine _vm
-
-
Constructor Details
-
AbstractOutOfProcessExecutor
-
-
Method Details
-
exec
- Throws:
Exception
-
getRunConfig
- Specified by:
getRunConfigin interfaceIProcessRunner<T extends IRunConfig>
-
getRunState
- Specified by:
getRunStatein interfaceIProcessRunner<T extends IRunConfig>
-
getProcess
- Specified by:
getProcessin interfaceIProcessRunner<T extends IRunConfig>
-
setProcess
-
getVm
public com.sun.jdi.VirtualMachine getVm()- Specified by:
getVmin interfaceIProcessRunner<T extends IRunConfig>
-
setVm
public void setVm(com.sun.jdi.VirtualMachine vm) -
execute
- Specified by:
executein interfaceIProcessRunner<T extends IRunConfig>
-
waitFor
- Throws:
IOExceptionInterruptedException
-
captureErrorStream
- Throws:
IOException
-
makeClasspath
- Throws:
IOException
-
makeClasspath
- Throws:
IOException
-
addExperimentPaths
-
printLabMessage
-
getGosuPanel
-