Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.vcs.migrate
Class VCSPropertyMapMigrator

java.lang.Object
  extended by oracle.ide.migration.ExtensionMigrator
      extended by oracle.jdeveloper.vcs.migrate.VCSPropertyMapMigrator
All Implemented Interfaces:
Migrator

public abstract class VCSPropertyMapMigrator
extends ExtensionMigrator

Since:
11.1.2.0.0 (Sherman)

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, ROOT_TAG, SETTINGS
 
Fields inherited from interface oracle.ide.migration.Migrator
JDEV_HOME_DIR, SYSTEM_DIR
 
Constructor Summary
VCSPropertyMapMigrator()
           
 
Method Summary
protected  boolean addToProductPreferences()
          Determines whether the migrated preferences should be added into the Preferences object or remain separate.
protected  void adjustCustomizerObject(java.util.Map propertyMap, VCSPreferences prefs)
           
protected  ExtensionMigrator.AdjustedObject[] adjustObject(java.lang.String inKey, java.lang.Object inObject)
          Override to adjust an object in some way after it has been created by Object2Dom and before it's either saved in the Preferences or ClientSetting object.
protected abstract  ExtensionMigrator.AdjustedObject[] adjustPropertyMap(java.lang.String inKey, VCSPropertyMap properties)
           
protected  ExtensionMigrator.AdjustedObject[] createAdjustedCommentTemplatesObject(VCSPropertyMap propertyMap)
           
protected  ExtensionMigrator.AdjustedObject[] createAdjustedCustomizerObject(VCSPreferences prefs, VCSPropertyMap propertyMap)
          Enables a sub-class of VCSPreferences to be used
protected  ExtensionMigrator.AdjustedObject[] createAdjustedCustomizerObject(VCSPropertyMap propertyMap)
           
protected  java.lang.String getQualifiedDataKey(java.lang.String key)
           
 
Methods inherited from class oracle.ide.migration.ExtensionMigrator
canMigrate, copyPreferenceObject, copyPreferenceObjectsAsIs, getClassNamesToIgnoreErrorsOn, getDescription, getDestFile, getExtensionID, getIde1013ExtensionDirectory, getMigrationCategories, getMigratorClassLoader, getRootTag, getSettingKeys, getSourceFile, getSourceFileOrJDevExtrasFile, isSelected, loadClass, migrate, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCSPropertyMapMigrator

public VCSPropertyMapMigrator()
Method Detail

getQualifiedDataKey

protected final java.lang.String getQualifiedDataKey(java.lang.String key)

addToProductPreferences

protected final boolean addToProductPreferences()
Description copied from class: ExtensionMigrator
Determines whether the migrated preferences should be added into the Preferences object or remain separate. This can only be done for preferences which have been modified to use HashStructureAdapter. If the preferences are to be added into the preferences object override this method and return true.

Overrides:
addToProductPreferences in class ExtensionMigrator

adjustObject

protected ExtensionMigrator.AdjustedObject[] adjustObject(java.lang.String inKey,
                                                          java.lang.Object inObject)
Description copied from class: ExtensionMigrator
Override to adjust an object in some way after it has been created by Object2Dom and before it's either saved in the Preferences or ClientSetting object. The return is an array of AdjustedObjects to support cases where what used to be one preference object needs to be split into multiple preference objects.

Overrides:
adjustObject in class ExtensionMigrator

adjustPropertyMap

protected abstract ExtensionMigrator.AdjustedObject[] adjustPropertyMap(java.lang.String inKey,
                                                                        VCSPropertyMap properties)

createAdjustedCustomizerObject

protected final ExtensionMigrator.AdjustedObject[] createAdjustedCustomizerObject(VCSPropertyMap propertyMap)

createAdjustedCustomizerObject

protected final ExtensionMigrator.AdjustedObject[] createAdjustedCustomizerObject(VCSPreferences prefs,
                                                                                  VCSPropertyMap propertyMap)
Enables a sub-class of VCSPreferences to be used

Parameters:
prefs -
propertyMap -
Returns:

createAdjustedCommentTemplatesObject

protected final ExtensionMigrator.AdjustedObject[] createAdjustedCommentTemplatesObject(VCSPropertyMap propertyMap)

adjustCustomizerObject

protected void adjustCustomizerObject(java.util.Map propertyMap,
                                      VCSPreferences prefs)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.