Package editor.run

Class AbstractOutOfProcessExecutor<T extends IRunConfig>

    • Field Detail

      • _process

        private java.lang.Process _process
      • _vm

        private com.sun.jdi.VirtualMachine _vm
    • Constructor Detail

      • AbstractOutOfProcessExecutor

        public AbstractOutOfProcessExecutor​(RunState runState)
    • Method Detail

      • exec

        protected abstract java.lang.String exec()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setProcess

        protected void setProcess​(java.lang.Process process)
      • setVm

        public void setVm​(com.sun.jdi.VirtualMachine vm)
      • waitFor

        int waitFor()
             throws java.io.IOException,
                    java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • captureErrorStream

        private void captureErrorStream()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • makeClasspath

        java.lang.String makeClasspath​(GosuPanel gosuPanel)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • makeClasspath

        java.lang.String makeClasspath​(GosuPanel gosuPanel,
                                       boolean bToolsJar)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • addExperimentPaths

        private void addExperimentPaths​(GosuPanel gosuPanel,
                                        java.lang.StringBuilder classpath,
                                        java.lang.String javaHomePath)
      • printLabMessage

        void printLabMessage​(java.lang.String message)
      • getGosuPanel

        protected GosuPanel getGosuPanel()