org.openstreetmap.josm.actions.upload
Class ApiPreconditionCheckerHook

java.lang.Object
  extended by org.openstreetmap.josm.actions.upload.ApiPreconditionCheckerHook
All Implemented Interfaces:
UploadHook

public class ApiPreconditionCheckerHook
extends java.lang.Object
implements UploadHook


Constructor Summary
ApiPreconditionCheckerHook()
           
 
Method Summary
private  boolean checkMaxNodes(java.util.Collection<OsmPrimitive> primitives, long maxNodes)
           
 boolean checkUpload(APIDataSet apiData)
          Checks the upload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiPreconditionCheckerHook

public ApiPreconditionCheckerHook()
Method Detail

checkUpload

public boolean checkUpload(APIDataSet apiData)
Description copied from interface: UploadHook
Checks the upload.

Specified by:
checkUpload in interface UploadHook
Parameters:
apiData - the data to upload

checkMaxNodes

private boolean checkMaxNodes(java.util.Collection<OsmPrimitive> primitives,
                              long maxNodes)


JOSM