idl.tmt.tasks
Class TaskManager
java.lang.Object
|
+--idl.tmt.tasks.TaskManager
- public class TaskManager
- extends java.lang.Object
Simple class for keeping track of the tasks that need to
be performed, and iterating through those tasks to perform
them.
Created on Jun 2, 2004
- Author:
- jelsas
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
indexingTasks
private java.util.LinkedList indexingTasks
clusteringTasks
private java.util.LinkedList clusteringTasks
analysisTasks
private java.util.LinkedList analysisTasks
otherTasks
private java.util.LinkedList otherTasks
TaskManager
public TaskManager()
addTask
public void addTask(ToolkitTask task)
performTasks
public void performTasks()
throws java.lang.Exception
- Iterates through the indexing, clustering, analysis, and other
tasks (in that order), performing them all.
- Throws:
java.lang.Exception - if an error is encountered while performing
a task.
doTasks
private void doTasks(java.util.LinkedList tasks)
throws java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
setOutputDir
public void setOutputDir(java.lang.String outputDir)
getOutputDir
public java.lang.String getOutputDir()
setLogFile
public void setLogFile(java.lang.String logFile)
getLogFile
public java.lang.String getLogFile()