public class DownloadPrimitivesTask extends AbstractPrimitiveTask
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<PrimitiveId> |
ids |
canceled, ds, lastException, layer, multiObjectReader, objectReaderprogressMonitor| Constructor and Description |
|---|
DownloadPrimitivesTask(OsmDataLayer layer,
java.util.List<PrimitiveId> ids,
boolean fullRelation)
Constructs a new
DownloadPrimitivesTask. |
DownloadPrimitivesTask(OsmDataLayer layer,
java.util.List<PrimitiveId> ids,
boolean fullRelation,
ProgressMonitor progressMonitor)
Constructs a new
DownloadPrimitivesTask. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initMultiFetchReader(MultiFetchServerObjectReader reader) |
cancel, finish, getMissingPrimitives, loadIncompleteNodes, loadIncompleteRelationMembers, realRun, setDownloadRelations, setZoomafterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate final java.util.List<PrimitiveId> ids
public DownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation)
DownloadPrimitivesTask.layer - the layer in which primitives are updated. Must not be null.ids - a collection of primitives to update from the server. Set to
the empty collection if null.fullRelation - true if a full download is required, i.e.,
a download including the immediate children of a relation.java.lang.IllegalArgumentException - if layer is null.public DownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation, ProgressMonitor progressMonitor)
DownloadPrimitivesTask.layer - the layer in which primitives are updated. Must not be null.ids - a collection of primitives to update from the server. Set to
the empty collection if null.fullRelation - true if a full download is required, i.e.,
a download including the immediate children of a relation.progressMonitor - ProgressMonitor to use or null to create a new one.java.lang.IllegalArgumentException - if layer is null.protected void initMultiFetchReader(MultiFetchServerObjectReader reader)
initMultiFetchReader in class AbstractPrimitiveTask