private void initLocalDirectories() { if (getUser() != null) { String localWorkspace = Settings.getInstance().getLocalWorkspace(getUser().getUsername()); String directory = FileUtil.path(localWorkspace, "output", getId()); FileUtil.createDirectory(directory); } }
public String getLogOutFile() { if (getUser() != null) { String localWorkspace = Settings.getInstance().getLocalWorkspace(getUser().getUsername()); return FileUtil.path(localWorkspace, "output", getId(), "job.txt"); } else { return ""; } }