public class WorkingSetsMigratorHelper extends NodeMigratorHelper
Modifier and Type | Method and Description |
---|---|
static WorkingSetsMigratorHelper |
getInstance() |
java.lang.String |
getNodeMigratorHelperKey()
For a
NodeMigrator that tracks component version history, the migrator key is used for storing and retrieving the part of the version history related to the NodeMigratorHelper. |
void |
migrate(MigrationInfo[] infos, TraversableContext context)
Method called to migrate the nodes recorded in the specified
MigrationInfo . |
generateDefaults, getDefault, getNodeMigratorHelperVersion, getPages, isHeadlesMigration, putDefault
public static WorkingSetsMigratorHelper getInstance()
public void migrate(MigrationInfo[] infos, TraversableContext context)
NodeMigratorHelper
MigrationInfo
. Helpers should not save nodes during migration because this can cause problems for proceeding migrator helpers, possibly preventing them from performing migration.migrate
in class NodeMigratorHelper
infos
- information about the nodes that may require migration.context
- contains addin specific migration data that is passed on to the helpers such that they can use that information when migrating their data.public java.lang.String getNodeMigratorHelperKey()
NodeMigratorHelper
NodeMigrator
that tracks component version history, the migrator key is used for storing and retrieving the part of the version history related to the NodeMigratorHelper. For example, in the case of a Project
migration, the migrator key is passed to the methods of ProjectVersion
. By default, the key is the fully qualified class name of the NodeMigratorHelper subclass. The key must not be null.getNodeMigratorHelperKey
in class NodeMigratorHelper