|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.pipeline.common.TaskManager
org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager
org.openstreetmap.osmosis.core.pipeline.v0_5.SinkDatasetSourceManager
public class SinkDatasetSourceManager
A task manager implementation for task performing sink and dataset source functionality.
| Constructor Summary | |
|---|---|
SinkDatasetSourceManager(java.lang.String taskId,
SinkDatasetSource task,
java.util.Map<java.lang.String,java.lang.String> pipeArgs)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
connect(PipeTasks pipeTasks)
Connects the task to any input tasks based upon the pipes created by source tasks, and makes any output pipes available to be used by subsequent sink tasks. |
| Methods inherited from class org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager |
|---|
execute, waitForCompletion |
| Methods inherited from class org.openstreetmap.osmosis.core.pipeline.common.TaskManager |
|---|
getInputTask, getTaskId, setOutputTask |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SinkDatasetSourceManager(java.lang.String taskId,
SinkDatasetSource task,
java.util.Map<java.lang.String,java.lang.String> pipeArgs)
taskId - A unique identifier for the task. This is used to produce
meaningful errors when errors occur.task - The task instance to be managed.pipeArgs - The arguments defining input and output pipes for the task,
pipes are a logical concept for identifying how the tasks are
connected together.| Method Detail |
|---|
public void connect(PipeTasks pipeTasks)
connect in class TaskManagerpipeTasks - The currently registered pipe tasks. This will be modified to
remove any consumed inputs, and modified to add new outputs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||