Last change
on this file since 12365 was 10600, checked in by Don-vip, 9 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.
|
---|
2 | package org.openstreetmap.josm.actions.upload;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.APIDataSet;
|
---|
5 |
|
---|
6 | @FunctionalInterface
|
---|
7 | public 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.