| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.migration.ExtensionMigrator
oracle.jdevimpl.audit.preferences.AuditPreferencesMigrator
public class AuditPreferencesMigrator
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.ide.migration.ExtensionMigrator | 
|---|
ExtensionMigrator.AdjustedObject | 
| Field Summary | 
|---|
| Fields inherited from class oracle.ide.migration.ExtensionMigrator | 
|---|
isSelected, SETTINGS | 
| Fields inherited from interface oracle.ide.migration.Migrator | 
|---|
JDEV_HOME_DIR, SYSTEM_DIR | 
| Constructor Summary | |
|---|---|
AuditPreferencesMigrator()
 | 
|
| Method Summary | |
|---|---|
protected  boolean | 
addToProductPreferences()
Determines whether the migrated preferences should be added into the Preferences object or remain separate.  | 
protected  ExtensionMigrator.AdjustedObject[] | 
adjustObject(java.lang.String key,
             java.lang.Object object)
Unset any migrated values that are at the default values.  | 
 boolean | 
canMigrate(int category,
           java.io.File sourceDir)
No categories supported.  | 
protected  java.io.File | 
getDestFile(java.io.File destDir)
Get the destination File from the given directory.  | 
protected  java.lang.String | 
getExtensionID()
Get the extension ID for which settings should be persisted.  | 
protected  java.util.List | 
getSettingKeys()
Get a complete list of all key values for persisting in the ClientSetting object associated with an extension.  | 
protected  java.io.File | 
getSourceFile(java.io.File sourceDir)
Get the source File from the given directory.  | 
 java.lang.String[] | 
migrate(java.io.File sourceDir,
        java.io.File destDir)
Migrate all flagged categories, from a given source directory, to a given destination directory.  | 
| Methods inherited from class oracle.ide.migration.ExtensionMigrator | 
|---|
copyPreferenceObjectsAsIs, copyPreferenceObjectsToPreferences, getDescription, getMigrationCategories, isSelected, setSelected | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AuditPreferencesMigrator()
| Method Detail | 
|---|
protected java.util.List getSettingKeys()
ExtensionMigrator
getSettingKeys in class ExtensionMigratorprotected java.lang.String getExtensionID()
ExtensionMigrator
getExtensionID in class ExtensionMigratorprotected boolean addToProductPreferences()
ExtensionMigrator
addToProductPreferences in class ExtensionMigrator
protected ExtensionMigrator.AdjustedObject[] adjustObject(java.lang.String key,
                                                          java.lang.Object object)
adjustObject in class ExtensionMigrator
public boolean canMigrate(int category,
                          java.io.File sourceDir)
ExtensionMigrator
canMigrate in interface MigratorcanMigrate in class ExtensionMigratorcategory - ignored.sourceDir - ignored.
public java.lang.String[] migrate(java.io.File sourceDir,
                                  java.io.File destDir)
Migrator
migrate in interface Migratormigrate in class ExtensionMigratorprotected java.io.File getSourceFile(java.io.File sourceDir)
ExtensionMigrator
getSourceFile in class ExtensionMigratorsourceDir - the source directory.
protected java.io.File getDestFile(java.io.File destDir)
ExtensionMigrator
getDestFile in class ExtensionMigratordestDir - the destination directory.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||