Extension SDK 10.1.3.36.73

oracle.ide.model
Class WorkspaceMigrator

java.lang.Object
  extended byoracle.ide.migration.NodeMigrator
      extended byoracle.ide.model.HashStructureNodeMigrator
          extended byoracle.ide.model.WorkspaceMigrator

public class WorkspaceMigrator
extends oracle.ide.model.HashStructureNodeMigrator

Workspace migrator. To lookup this migrator use the method NodeMigrator.getNodeMigrator(java.lang.String) specifying the name identifier: MIGRATOR_NAME.


Field Summary
static java.lang.String MIGRATOR_NAME
          String identifier used to lookup a specific node migrator.
 
Fields inherited from class oracle.ide.migration.NodeMigrator
MIGRATOR_MAP_DATA
 
Constructor Summary
WorkspaceMigrator()
           
 
Method Summary
protected  NodeMigratorHelper[] getHelpers(MigrationInfo info)
          Get the NodeMigratorHelpers that are newer than the version number stored in the project file.
 MigrationInfo getMigrationInfo(Node node)
          Get the current MigrationInfo for the specified node.
protected  java.lang.String getMsg(MigrationInfo[] infos)
          Get the wizard welcome page message.
 java.util.List getPages(MigrationInfo[] infos, TraversableContext context)
          Get the list of wizard pages associated with the specified infos.
protected  java.lang.String getSummaryMsg(MigrationInfo[] infos)
          Get the message for the wizard summary page.
protected  java.lang.String getTitle()
          Get the wizard title.
 
Methods inherited from class oracle.ide.migration.NodeMigrator
addHelper, callHelperMigrate, callHelpersMigrate, checkVersions, doMigration, doMigration, finishMigration, getHelpers, getInfoToMigratorMap, getLookupKey, getMigrationInfos, getNodeMigrator, invokeWizard, mapInfoToMigrator, migrate, migrate, removeHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIGRATOR_NAME

public static final java.lang.String MIGRATOR_NAME
String identifier used to lookup a specific node migrator. This particular constant identifies the workspace migrator. Migrator name identifiers must be the class name of the node the migrator migrates.

Constructor Detail

WorkspaceMigrator

public WorkspaceMigrator()
Method Detail

getPages

public java.util.List getPages(MigrationInfo[] infos,
                               TraversableContext context)
Description copied from class: NodeMigrator
Get the list of wizard pages associated with the specified infos. Clients must use the context object to store the data diplayed in these pages.

Overrides:
getPages in class NodeMigrator
Parameters:
infos - migration information about the nodes to migrate. All nodes must be of the same type.
context - use the context to store the data gathered from the pages.
Returns:
a list of migration pages that the migration wizard displays.

getMsg

protected java.lang.String getMsg(MigrationInfo[] infos)
Description copied from class: NodeMigrator
Get the wizard welcome page message. Subclasses must implement this method to define the welcome page message.

Specified by:
getMsg in class NodeMigrator
Returns:
the welcome page message.

getTitle

protected java.lang.String getTitle()
Description copied from class: NodeMigrator
Get the wizard title. Subclasses must implement this method to define the wizard title.

Specified by:
getTitle in class NodeMigrator
Returns:
the wizard title.

getSummaryMsg

protected java.lang.String getSummaryMsg(MigrationInfo[] infos)
Description copied from class: NodeMigrator
Get the message for the wizard summary page. Subclasses must implement this method to define the summary page message.

Specified by:
getSummaryMsg in class NodeMigrator
Returns:
the summary page message.

getMigrationInfo

public MigrationInfo getMigrationInfo(Node node)
Description copied from class: NodeMigrator
Get the current MigrationInfo for the specified node.

Specified by:
getMigrationInfo in class NodeMigrator
Parameters:
node - the target node for which migration information is being requested.

getHelpers

protected NodeMigratorHelper[] getHelpers(MigrationInfo info)
Description copied from class: NodeMigrator
Get the NodeMigratorHelpers that are newer than the version number stored in the project file.

Overrides:
getHelpers in class NodeMigrator

Extension SDK 10.1.3.36.73

 

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