|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.migration.NodeMigrator oracle.ide.model.WorkspaceMigrator
Workspace migrator. To lookup this migrator use the method
NodeMigrator.getNodeMigrator(java.lang.String)
specifying the name
identifier: WorkspaceMigrator@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 | |
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. |
MigrationInfo[] |
migrate(MigrationInfo[] infos)
Method called to migrate the nodes recorded in the specified MigrationInfo . |
Methods inherited from class oracle.ide.migration.NodeMigrator |
addHelper, checkVersions, doMigration, doMigration, finishMigration, forceSave, getHelpers, getInfoToMigratorMap, getLookupKey, getLookupKey, getLookupKey, getMigrationInfos, getNodeMigrator, invokeWizard, mapInfoToMigrator, migrate, recache, removeHelper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MIGRATOR_NAME
Constructor Detail |
public WorkspaceMigrator()
Method Detail |
public MigrationInfo[] migrate(MigrationInfo[] infos)
NodeMigrator
MigrationInfo
. This method should do the migration without
popping-up an end user graphical user interface.
migrate
in class NodeMigrator
infos
- information about the nodes that may require migration.
All nodes held in the MigrationInfo
must be of the same
type.
public MigrationInfo getMigrationInfo(Node node)
NodeMigrator
MigrationInfo
for the specified node.
getMigrationInfo
in class NodeMigrator
node
- the target node for which migration information is being
requested.public java.util.List getPages(MigrationInfo[] infos, TraversableContext context)
NodeMigrator
infos
. Clients must use the context
object
to store the data diplayed in these pages.
getPages
in class NodeMigrator
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.
protected java.lang.String getMsg(MigrationInfo[] infos)
NodeMigrator
getMsg
in class NodeMigrator
protected java.lang.String getTitle()
NodeMigrator
getTitle
in class NodeMigrator
protected java.lang.String getSummaryMsg(MigrationInfo[] infos)
NodeMigrator
getSummaryMsg
in class NodeMigrator
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.