public void downloadFullJobLogs(String sessionId, String jobId) { String url = SchedulerConfig.get().getRestPublicUrlIfDefinedOrOverridden() + "/scheduler/jobs/" + jobId + "/log/full?sessionid=" + sessionId; Window.open(url, "_blank", ""); }
/** Start the timer that will periodically fetch live logs */ public void startLiveOutput() { this.liveOutputUpdater = new Timer() { @Override public void run() { doFetchLiveLog(); } }; int refreshTime = SchedulerConfig.get().getLivelogsRefreshTime(); this.liveOutputUpdater.scheduleRepeating(refreshTime); this.doFetchLiveLog(); }