solar.service.fork
Class TaskBatch
java.lang.Object
|
+--solar.service.fork.TaskBatch
- public class TaskBatch
- extends java.lang.Object
A class contains batch jobs defined in a cfg file.
- Version:
- $Id: TaskBatch.java,v 1.2 2003/10/08 22:53:22 glchen Exp $
- Author:
- Guanling Chen
Method Summary |
private void |
parse(java.lang.String taskfile)
|
void |
run()
|
protected void |
runOneRound(java.lang.String param,
java.lang.String value)
|
void |
taskFinished(Task task)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
static org.apache.log4j.Logger _log
_repeat
int _repeat
_param
TaskBatch.RepeatParam _param
_tasks
java.util.List _tasks
_listener
TaskBatch.BatchListener _listener
TaskBatch
public TaskBatch(java.lang.String taskfile,
TaskBatch.BatchListener listener)
throws java.lang.Exception
run
public void run()
throws java.lang.Exception
java.lang.Exception
runOneRound
protected void runOneRound(java.lang.String param,
java.lang.String value)
throws java.lang.Exception
java.lang.Exception
taskFinished
public void taskFinished(Task task)
parse
private void parse(java.lang.String taskfile)
throws java.lang.Exception
java.lang.Exception