Class UploadSelectionAction.UploadHullBuilder

  • All Implemented Interfaces:
    OsmPrimitiveVisitor
    Enclosing class:
    UploadSelectionAction

    static class UploadSelectionAction.UploadHullBuilder
    extends Object
    implements OsmPrimitiveVisitor
    Computes the collection of primitives to upload, given a collection of candidate primitives. Some of the candidates are excluded, i.e. if they aren't modified. Other primitives are added. A typical case is a primitive which is new and and which is referred by a modified relation. In order to upload the relation the new primitive has to be uploaded as well, even if it isn't included in the list of candidate primitives.