JDEV_HOME_DIR, SYSTEM_DIR
Constructor and Description |
---|
UserPropertiesMigrator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canMigrate(int category,
java.io.File sourceDir)
Determine whether a given category can be migrated from a given directory.
|
java.lang.String |
getDescription(int category)
Get a one line description for a given migration category.
|
int[] |
getMigrationCategories()
Get an array of unique id values representing available categories to
migrate.
|
boolean |
isSelected(int category)
Determine whether a category has been flagged for migration.
|
java.lang.String[] |
migrate(java.io.File srcDir,
java.io.File dstDir)
Migrate all flagged categories, from a given source directory, to a given
destination directory.
|
void |
setSelected(int category,
boolean selected)
Flag a category as selected for migration.
|
public int[] getMigrationCategories()
Migrator
getMigrationCategories
in interface Migrator
public java.lang.String getDescription(int category)
Migrator
getDescription
in interface Migrator
public boolean canMigrate(int category, java.io.File sourceDir)
Migrator
canMigrate
in interface Migrator
public void setSelected(int category, boolean selected)
Migrator
setSelected
in interface Migrator
public boolean isSelected(int category)
Migrator
isSelected
in interface Migrator
public java.lang.String[] migrate(java.io.File srcDir, java.io.File dstDir)
Migrator