|
ILIAS
release_8 Revision v8.24
|
A migration is a potentially long lasting operation that can be broken into discrete steps. More...
Inheritance diagram for ILIAS\Setup\Migration:
Collaboration diagram for ILIAS\Setup\Migration:Public Member Functions | |
| getLabel () | |
| getDefaultAmountOfStepsPerRun () | |
| Tell the default amount of steps to be executed for one run of the migration. More... | |
| getPreconditions (Environment $environment) | |
| Objectives the migration depend on. More... | |
| prepare (Environment $environment) | |
| Prepare the migration by means of some environment. More... | |
| step (Environment $environment) | |
| Run one step of the migration. More... | |
| getRemainingAmountOfSteps () | |
| Count up how many "things" need to be migrated. More... | |
Data Fields | |
| const | INFINITE = -1 |
A migration is a potentially long lasting operation that can be broken into discrete steps.
Other than database updates, it is supposed to run in the background, even when the installation is online again.
Definition at line 28 of file Migration.php.
| ILIAS\Setup\Migration::getDefaultAmountOfStepsPerRun | ( | ) |
Tell the default amount of steps to be executed for one run of the migration.
Return Migration::INFINITE if all units should be migrated at once.
Implemented in ilObjCloudModuleMigration, ilFixMissingQuestionDuplicationMigration, ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration, and ilStorageHandlerV1Migration.
Referenced by ILIAS\Setup\Objective\MigrationObjective\__construct().
Here is the caller graph for this function:| ILIAS\Setup\Migration::getLabel | ( | ) |
Implemented in ilObjCloudModuleMigration, ilFixMissingQuestionDuplicationMigration, ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration, and ilStorageHandlerV1Migration.
| ILIAS\Setup\Migration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implemented in ilObjCloudModuleMigration, ilFixMissingQuestionDuplicationMigration, ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration, and ilStorageHandlerV1Migration.
| ILIAS\Setup\Migration::getRemainingAmountOfSteps | ( | ) |
Count up how many "things" need to be migrated.
This helps the admin to decide how big he can create the steps and also how long a migration takes
Implemented in ilObjCloudModuleMigration, ilFixMissingQuestionDuplicationMigration, ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration, and ilStorageHandlerV1Migration.
| ILIAS\Setup\Migration::prepare | ( | Environment | $environment | ) |
Prepare the migration by means of some environment.
This is not supposed to modify the environment, but will be run to prime the migration object to run step and getRemainingAmountOfSteps afterwards.
Implemented in ilObjCloudModuleMigration, ilFixMissingQuestionDuplicationMigration, and ilStorageHandlerV1Migration.
| ILIAS\Setup\Migration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implemented in ilObjCloudModuleMigration, ilFixMissingQuestionDuplicationMigration, and ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration.
| const ILIAS\Setup\Migration::INFINITE = -1 |
Definition at line 30 of file Migration.php.
Referenced by ILIAS\Setup\CLI\MigrateCommand\configure(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().