EyesFirstProcess extends JavaProcess { @Override protected void runProcess() throws Exception { statusString.set("Starting thickness classifier..."); log = LoggerFactory.getLogger(getClass().getName() + "." + ProcessManager.uidToString(getUID())); try { super.runProcess(); statusString.set("Completed successfully."); } catch (Exception e) { statusString.set(null); log.error("Error running model", e); throw e; } finally { stdout.finish(); String line; while ((line = stdout.readLine()) != null) { log.info(line); } stderr.finish(); while ((line = stderr.readLine()) != null) { log.warn(line); } } } EyesFirstProcess(String wadoURL, String dicomURL, String callbackURL, String callbackKey, File outputPath, String mcrPath, File[] jarFiles);  EyesFirstProcess(String wadoURL); @Override String getName(); String getWadoURL(); void setWadoURL(String wadoURL); String getCallbackURL(); void setCallbackURL(String callbackURL); String getCallbackKey(); void setCallbackKey(String callbackKey); String getMcrPath(); void setMcrPath(String mcrPath); String getDicomURL(); void setDicomURL(String dicomURL); File[] getJarFiles(); void setJarFiles(File[] jarFiles); File getOutputPath(); void setOutputPath(File outputPath); static String findMCRRoot(Map<String, String> env); @Override String getStatusString();  }
@Test public void testRunProcess() throws Exception { new EyesFirstTestProcess().runProcess(); }