|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pipeline.common.Pipeline
public class Pipeline
Manages a processing pipeline from parsing of arguments, to creating and instantiating tasks, running of the pipeline, and waiting until pipeline completion.
Constructor Summary | |
---|---|
Pipeline(TaskManagerFactoryRegister factoryRegister)
Creates a new instance. |
Method Summary | |
---|---|
void |
execute()
Launches the execution of the tasks within the pipeline. |
void |
prepare(java.util.List<TaskConfiguration> taskInfoList)
Instantiates and configures all tasks within the pipeline. |
void |
waitForCompletion()
Waits for all tasks within the pipeline to complete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pipeline(TaskManagerFactoryRegister factoryRegister)
factoryRegister
- The register containing all known task manager factories.Method Detail |
---|
public void prepare(java.util.List<TaskConfiguration> taskInfoList)
taskInfoList
- The list of task information objects.public void execute()
public void waitForCompletion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |