source: josm/trunk/src/org/openstreetmap/josm/actions/upload/UploadHook.java@ 12346

Last change on this file since 12346 was 10600, checked in by Don-vip, 8 years ago

see #11390 - sonar - squid:S1609 - Java 8: @FunctionalInterface annotation should be used to flag Single Abstract Method interfaces

  • Property svn:eol-style set to native
File size: 382 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.actions.upload;
3
4import org.openstreetmap.josm.data.APIDataSet;
5
6@FunctionalInterface
7public interface UploadHook {
8
9 /**
10 * Checks the upload.
11 * @param apiDataSet the data to upload
12 * @return {@code true} if upload is possible
13 */
14 boolean checkUpload(APIDataSet apiDataSet);
15}
Note: See TracBrowser for help on using the repository browser.