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