/** * Called by the system to execute this task on a thread provided by the * {@link JiffleExecutor}. * * @return a result object with references to the {@code Jiffle} object, * the images, and the job completion status */ public JiffleExecutorResult call() { boolean gotEx = false; try { runtime.evaluateAll(progressListener); } catch (Exception ex) { gotEx = true; } completed = !gotEx; return new JiffleExecutorResult(id, runtime, completed); }
/** * Called by the system to execute this task on a thread provided by the * {@link JiffleExecutor}. * * @return a result object with references to the {@code Jiffle} object, * the images, and the job completion status */ public JiffleExecutorResult call() { boolean gotEx = false; try { runtime.evaluateAll(progressListener); } catch (Exception ex) { gotEx = true; } completed = !gotEx; return new JiffleExecutorResult(id, runtime, completed); }