| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.migration.XMLMigrator
oracle.ide.model.IdeSystemMigrator
public final class IdeSystemMigrator
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.ide.migration.XMLMigrator | 
|---|
| XMLMigrator.MigrationLogger | 
| Field Summary | |
|---|---|
| static int | DEFAULT_PROJECT | 
| static int | DEFAULT_WORKSPACE | 
| static int | SYSTEM_SETTINGS | 
| Fields inherited from interface oracle.ide.migration.Migrator | 
|---|
| JDEV_HOME_DIR, SYSTEM_DIR | 
| Constructor Summary | |
|---|---|
| IdeSystemMigrator() | |
| Method Summary | |
|---|---|
| protected  java.lang.Object | adjustObject(java.io.File sourceDir,
             java.io.File destDir,
             java.lang.Object obj)Perform any postprocessing necessary before migrating the file. | 
|  boolean | canMigrate(int category,
           java.io.File sourceDir)Determine whether the settings can be migrated from the given directory. | 
|  java.lang.String | getDescription(int category)Get a one line description for a given migration category. | 
| protected  java.lang.String | getFileName()Get the filename to migrate. | 
| protected  java.lang.String | getNamespaceURI()Get the XML namespace URI. | 
| static IdeSystem | getRestoredSystem()If a migration succeeded, then the restored system will be non-null. | 
| protected  java.lang.String | getRootTag()Get the XML root element tag. | 
| protected  java.io.File | getSourceFile(java.io.File sourceDir,
              java.io.File destDir)Get the File containing the information to be migrated. | 
|  java.lang.String[] | migrate(java.io.File sourceDir,
        java.io.File destDir)Migrate the settings from a given source directory to a given destination directory. | 
| protected  void | prepareToMigrate()Perform any preprocessing necessary before migrating the file. | 
| Methods inherited from class oracle.ide.migration.XMLMigrator | 
|---|
| categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, isAnyCategorySelected, isSelected, isValidCategory, readObject, setSelected, writeObject | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int SYSTEM_SETTINGS
public static final int DEFAULT_PROJECT
public static final int DEFAULT_WORKSPACE
| Constructor Detail | 
|---|
public IdeSystemMigrator()
| Method Detail | 
|---|
public java.lang.String getDescription(int category)
Migrator
public boolean canMigrate(int category,
                          java.io.File sourceDir)
XMLMigrator
canMigrate in interface MigratorcanMigrate in class XMLMigrator
protected java.io.File getSourceFile(java.io.File sourceDir,
                                     java.io.File destDir)
XMLMigrator
getSourceFile in class XMLMigratorprotected java.lang.String getFileName()
XMLMigrator
getFileName in class XMLMigratorprotected java.lang.String getNamespaceURI()
XMLMigrator
getNamespaceURI in class XMLMigratorprotected java.lang.String getRootTag()
XMLMigrator
getRootTag in class XMLMigratorprotected void prepareToMigrate()
XMLMigrator
prepareToMigrate in class XMLMigrator
protected java.lang.Object adjustObject(java.io.File sourceDir,
                                        java.io.File destDir,
                                        java.lang.Object obj)
                                 throws java.lang.Exception
XMLMigrator
adjustObject in class XMLMigratorjava.lang.Exceptionpublic static IdeSystem getRestoredSystem()
public java.lang.String[] migrate(java.io.File sourceDir,
                                  java.io.File destDir)
XMLMigrator
migrate in interface Migratormigrate in class XMLMigrator| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||