Last change
on this file since 12663 was 12189, checked in by michael2402, 7 years ago |
See #14794: Javadoc for data.osm package
|
-
Property svn:eol-style
set to
native
|
File size:
864 bytes
|
Rev | Line | |
---|
[2711] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
| 2 | package org.openstreetmap.josm.data.osm;
|
---|
| 3 |
|
---|
| 4 | import java.util.Collection;
|
---|
| 5 |
|
---|
[12189] | 6 | /**
|
---|
| 7 | * An event indicating a change in the {@link ChangesetCache}
|
---|
| 8 | */
|
---|
[2711] | 9 | public interface ChangesetCacheEvent {
|
---|
[12189] | 10 | /**
|
---|
| 11 | * The changeset cache the change happened in.
|
---|
| 12 | * @return The {@link ChangesetCache}
|
---|
| 13 | */
|
---|
[2711] | 14 | ChangesetCache getSource();
|
---|
[8510] | 15 |
|
---|
[12189] | 16 | /**
|
---|
| 17 | * Gets a list of {@link Changeset}s that were added to the cache
|
---|
| 18 | * @return The changesets
|
---|
| 19 | */
|
---|
[2711] | 20 | Collection<Changeset> getAddedChangesets();
|
---|
[8510] | 21 |
|
---|
[12189] | 22 | /**
|
---|
| 23 | * Gets a list of {@link Changeset}s that were removed from the cache
|
---|
| 24 | * @return The changesets
|
---|
| 25 | */
|
---|
[2711] | 26 | Collection<Changeset> getRemovedChangesets();
|
---|
[8510] | 27 |
|
---|
[12189] | 28 | /**
|
---|
| 29 | * Gets a list of {@link Changeset}s that were changed
|
---|
| 30 | * @return The changesets
|
---|
| 31 | */
|
---|
[2711] | 32 | Collection<Changeset> getUpdatedChangesets();
|
---|
| 33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.