Lines Matching refs:task

215     private boolean createTempDir(Task task)  in createTempDir()  argument
226 task.advance(true); in createTempDir()
252 private boolean cleanup(Task task) in cleanup() argument
255 task.setSubtaskName(TASK_FINISH); in cleanup()
261 task.advance(b); in cleanup()
294 …public static void copyMedia(UCB copy, CGSettings settings, String targetDir, Task task) throws Ex… in copyMedia() argument
302 task.advance(true); in copyMedia()
313 task.advance(true); in copyMedia()
338 private boolean publish(String dir, Task task) in publish() argument
340 task.setSubtaskName(TASK_PUBLISH_PREPARE); in publish()
345 copyMedia(ucb, settings, dir, task); in publish()
347 task.advance(true); in publish()
367 task.setSubtaskName(key); in publish()
373 if (!publish(dir, p, ucb, task)) in publish()
393 private boolean publish(String dir, CGPublish publish, UCB copy, Task task) in publish() argument
398 task.advance(true); in publish()
400 task.advance(true); in publish()
405 task.advance(false); in publish()
414 public boolean generate(String targetDir, Task task) in generate() argument
417 task.setSubtaskName(TASK_GENERATE_PREPARE); in generate()
428 generate(xmsf, layout, doc, fileAccess, targetDir, task); in generate()
443 task.setSubtaskName(TASK_GENERATE_COPY); in generate()
447 task.advance(true); in generate()
453 task.advance(false); in generate()
501 Task task) in generate() argument
509 task.advance(true, TASK_GENERATE_XSL); in generate()
524 task.advance(true); in generate()
540 task.advance(true); in generate()
551 private boolean export(Task task) in export() argument
554 return export(settings.cp_DefaultSession.cp_Content, tempDir, task); in export()
568 private boolean export(CGContent content, String dir, Task task) in export() argument
576 task.setSubtaskName(TASK_EXPORT_PREPARE); in export()
590 task.advance(true, TASK_EXPORT_DOCUMENTS); in export()
609 if (!export((CGDocument) item, contentDir, task)) in export()
617 */ if (!export((CGContent) item, contentDir, task)) in export()
644 failTask(task, toPerform); in export()
656 private boolean export(CGDocument doc, String dir, Task task) in export() argument
723 task.advance(true); in export()
728 getExporter(exporter).export(doc, file, xmsf, task); in export()
729 task.advance(true); in export()
778 private void failTask(Task task, int count) in failTask() argument
782 task.advance(false); in failTask()