ILIAS
release_7 Revision v7.30-3-g800a261c036
|
A migration is a potentially long lasting operation that can be broken into discrete steps. More...
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 12 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 ilStorageHandlerV1Migration.
ILIAS\Setup\Migration::getLabel | ( | ) |
Implemented in ilStorageHandlerV1Migration.
ILIAS\Setup\Migration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
UnachievableException | if the objective is not achievable |
Implemented in ilStorageHandlerV1Migration.
Referenced by ILIAS\Setup\CLI\MigrateCommand\prepareEnvironmentForMigration().
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 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 ilStorageHandlerV1Migration.
ILIAS\Setup\Migration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Referenced by ilStorageHandlerV1Migration\prepare().
const ILIAS\Setup\Migration::INFINITE = -1 |
Definition at line 14 of file Migration.php.
Referenced by ILIAS\Setup\CLI\MigrateCommand\configure(), ILIAS\Setup\Objective\MigrationObjective\getPreconditions(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().