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