Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Faltermeier2014-07-24 12:04:04 -0400
committerJohannes Faltermeier2014-07-24 12:04:04 -0400
commitedbee20bc077e42082f9239428982bcc20456299 (patch)
tree7656af42451cd2e6539135dfef92a3b5654e4246
parent6ac46ce08e446c55633efa4445e6df567fbd934d (diff)
downloadorg.eclipse.emf.edapt-topic_cdo.tar.gz
org.eclipse.emf.edapt-topic_cdo.tar.xz
org.eclipse.emf.edapt-topic_cdo.zip
Migrator offers more API for accessing Releases.topic_cdo
-rw-r--r--plugins/org.eclipse.emf.edapt.history/src/org/eclipse/emf/edapt/migration/execution/Migrator.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.edapt.history/src/org/eclipse/emf/edapt/migration/execution/Migrator.java b/plugins/org.eclipse.emf.edapt.history/src/org/eclipse/emf/edapt/migration/execution/Migrator.java
index 47babb2..7fdcd49 100644
--- a/plugins/org.eclipse.emf.edapt.history/src/org/eclipse/emf/edapt/migration/execution/Migrator.java
+++ b/plugins/org.eclipse.emf.edapt.history/src/org/eclipse/emf/edapt/migration/execution/Migrator.java
@@ -196,7 +196,7 @@ public class Migrator {
}
/** Get the latest release. */
- private Release getLatestRelease() {
+ public Release getLatestRelease() {
List<Release> releases = history.getReleases();
return releases.get(releases.size() - 2);
}
@@ -270,6 +270,11 @@ public class Migrator {
return releaseMap.containsKey(nsURI) ? releaseMap.get(nsURI)
: Collections.<Release> emptySet();
}
+
+ /** Get the release map from NS-URI to releases */
+ public Map<String, Set<Release>> getReleaseMap() {
+ return releaseMap;
+ }
/** Get the release with a certain number. */
public Release getRelease(int number) {

Back to the top