001 // License: GPL. For details, see LICENSE file. 002 package org.openstreetmap.josm.actions.upload; 003 004 import org.openstreetmap.josm.data.APIDataSet; 005 006 public interface UploadHook { 007 /** 008 * Checks the upload. 009 * @param apiDataSet the data to upload 010 */ 011 public boolean checkUpload(APIDataSet apiDataSet); 012 }