oracle.ide.migration
Class MigrationManager
java.lang.Object
oracle.ide.migration.MigrationManager
- public abstract class MigrationManager
- extends java.lang.Object
The MigrationManager class provides access to the registered Migrator implementations available. The lifespan of the MigrationManager is limited to the point immediately after IDE notification of addins loaded.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigrationManager
public MigrationManager()
getMigrationManager
public static MigrationManager getMigrationManager()
- Gets the MigrationMananger instance. The lifespan of the MigrationManager is limited to the startup process. The MigrationManager instance is disposed of immediately after the IdeEvent.IDE_ADDINS_LOADED event is sent.
setMigrationManager
public static void setMigrationManager(MigrationManager migrationManager)
getMigrators
public abstract java.util.List getMigrators()
- Get a List of all Migrator implementations.
getMigrator
public abstract Migrator getMigrator(java.lang.Class migratorCls)
- Get the Migrator instance of the given Class.
getOracleHomeDirectory
public abstract java.io.File getOracleHomeDirectory(java.io.File systemDir)
- Get the Oracle products install directory used by the version of the IDE whose 'System' directory is provided.
-
- Returns:
- the result that would have been obtained by calling Ide.getOracleHomeDirectory() on the version of the IDE whose 'System' directory is provided.
Copyright © 1997, 2004, Oracle. All rights reserved.