|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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.ProjectMigrator
public class ProjectMigrator
Project migrator. To lookup this migrator use the method
NodeMigrator.getNodeMigrator(java.lang.String)
specifying
the name identifier: MIGRATOR_NAME
. Migrator
helpers registered with the ProjectMigrator will execute after migrator
helpers registered with WorkspaceMigrator
.
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 | |
---|---|
ProjectMigrator()
|
Method Summary | |
---|---|
protected void |
callHelpersMigrate(MigrationInfo info,
TraversableContext context)
|
protected NodeMigratorHelper[] |
getHelpers(MigrationInfo info)
Get the NodeMigratorHelper s 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. |
protected java.lang.String |
getSummaryMsg(MigrationInfo[] infos)
Get the message for the wizard summary page. |
protected java.lang.String |
getTitle()
Get the wizard title. |
protected float |
getWeight()
Returns the weight which we wish to give to the migrator when migrating it. |
protected void |
postMigrate(MigrationInfo[] infos,
TraversableContext context)
Method called after migration is complete. |
protected void |
preMigrate(MigrationInfo[] infos,
TraversableContext context)
Method called before migration is initiated. |
Methods inherited from class oracle.ide.migration.NodeMigrator |
---|
addHelper, callHelperMigrate, checkVersioning, checkVersions, doMigration, doMigration, finishMigration, getHelpers, getInfoToMigratorMap, getLookupKey, getMigrationInfos, getNodeMigrator, getPages, getTraversableContext, 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 |
---|
public static final java.lang.String MIGRATOR_NAME
Constructor Detail |
---|
public ProjectMigrator()
Method Detail |
---|
protected void callHelpersMigrate(MigrationInfo info, TraversableContext context)
callHelpersMigrate
in class NodeMigrator
protected void preMigrate(MigrationInfo[] infos, TraversableContext context)
NodeMigrator
preMigrate
in class NodeMigrator
infos
- information about the nodes that may require migration.
All nodes held in the MigrationInfo
must be of the same
type.context
- contains a Map
that can be obtained from the
context using the name identifier: NodeMigrator.MIGRATOR_MAP_DATA
. The
information needed to do the migration is held by this map.protected void postMigrate(MigrationInfo[] infos, TraversableContext context)
NodeMigrator
postMigrate
in class NodeMigrator
infos
- information about the nodes that may require migration.
All nodes held in the MigrationInfo
must be of the same
type.context
- contains addin specific migration data that is
passed on to the helpers such that they can use that information
when migrating their data.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
protected float getWeight()
NodeMigrator
getWeight
in class NodeMigrator
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.protected NodeMigratorHelper[] getHelpers(MigrationInfo info)
NodeMigrator
NodeMigratorHelper
s that are newer than the version
number stored in the project file.
getHelpers
in class NodeMigrator
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |