org.openstreetmap.osmosis.core.task.v0_5
Interface MultiChangeSource

All Superinterfaces:
Task
All Known Subinterfaces:
ChangeSinkMultiChangeSource
All Known Implementing Classes:
ChangeTee

public interface MultiChangeSource
extends Task

Defines the interface for tasks producing multiple change streams of OSM data.

Author:
Brett Henderson

Method Summary
 ChangeSource getChangeSource(int index)
          Retrieves a specific change source that can then have a change sink attached.
 int getChangeSourceCount()
          Indicates the number of change sources that the task provides.
 

Method Detail

getChangeSource

ChangeSource getChangeSource(int index)
Retrieves a specific change source that can then have a change sink attached.

Parameters:
index - The index of the change source to retrieve.
Returns:
The requested index.

getChangeSourceCount

int getChangeSourceCount()
Indicates the number of change sources that the task provides.

Returns:
The number of change sources.