|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.examples.panorama.startup.impl.TaskExecutor
public class TaskExecutor
A service that executes a series of Tasks. Tasks have an
ordering based on pre- and post-requisites.
| Constructor Summary | |
|---|---|
TaskExecutor()
|
|
| Method Summary | |
|---|---|
void |
run()
Orders the tasks into an execution order, and executes each in turn. |
void |
setErrorLog(org.apache.hivemind.ErrorLog errorLog)
|
void |
setLog(org.apache.commons.logging.Log log)
|
void |
setMessages(org.apache.hivemind.Messages messages)
|
void |
setTasks(java.util.List list)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskExecutor()
| Method Detail |
|---|
public void run()
tasks into an execution order, and executes each in turn.
Logs the elapsed time, number of tasks, and the number of failures (if any).
run in interface java.lang.Runnablepublic void setLog(org.apache.commons.logging.Log log)
public void setErrorLog(org.apache.hivemind.ErrorLog errorLog)
public void setMessages(org.apache.hivemind.Messages messages)
public void setTasks(java.util.List list)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||