org.eclipse.emf.cdo.utilities.migrator
Class MigratorUtil

java.lang.Object
  extended by org.eclipse.emf.cdo.utilities.migrator.MigratorUtil

public class MigratorUtil
extends java.lang.Object


Field Summary
static java.lang.String CLIENT_PLUGIN_ID
           
 
Constructor Summary
MigratorUtil()
           
 
Method Summary
static int addMappings(java.lang.String fullPath)
           
static boolean importClientPlugin()
           
static int migrateEcore(java.lang.String fullPath)
           
static boolean migrateGenmodel(java.lang.String fullPath)
           
static boolean updateClasspath(java.lang.String fullPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLIENT_PLUGIN_ID

public static final java.lang.String CLIENT_PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

MigratorUtil

public MigratorUtil()
Method Detail

updateClasspath

public static boolean updateClasspath(java.lang.String fullPath)
                               throws java.io.IOException,
                                      org.eclipse.core.runtime.CoreException
Returns:
true if manifest was modified, false otherwise.
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

addMappings

public static int addMappings(java.lang.String fullPath)
                       throws java.io.IOException,
                              org.eclipse.core.runtime.CoreException
Returns:
The number of added extensions.

Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

migrateGenmodel

public static boolean migrateGenmodel(java.lang.String fullPath)
                               throws java.io.IOException
Returns:
true if a modification occured, false otherwise.

Throws:
java.io.IOException

migrateEcore

public static int migrateEcore(java.lang.String fullPath)
                        throws java.io.IOException
Returns:
The number of modifications.

Throws:
java.io.IOException

importClientPlugin

public static boolean importClientPlugin()
                                  throws java.lang.reflect.InvocationTargetException,
                                         java.lang.InterruptedException
Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException

Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.