ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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... | |
Protected Member Functions | |
buildAbsolutPath (int $exec_id, int $assignment_id) | |
Protected Attributes | |
ilResourceStorageMigrationHelper | $helper |
Additional Inherited Members | |
![]() | |
const | INFINITE = -1 |
Definition at line 27 of file class.ilExerciseSampleSolutionMigration.php.
|
protected |
Definition at line 96 of file class.ilExerciseSampleSolutionMigration.php.
References CLIENT_DATA_DIR, and ilFileSystemAbstractionStorage\createPathFromId().
ilExerciseSampleSolutionMigration::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.
Implements ILIAS\Setup\Migration.
Definition at line 36 of file class.ilExerciseSampleSolutionMigration.php.
ilExerciseSampleSolutionMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 31 of file class.ilExerciseSampleSolutionMigration.php.
ilExerciseSampleSolutionMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 41 of file class.ilExerciseSampleSolutionMigration.php.
ilExerciseSampleSolutionMigration::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
Implements ILIAS\Setup\Migration.
Definition at line 86 of file class.ilExerciseSampleSolutionMigration.php.
References Vendor\Package\$d, and $r.
ilExerciseSampleSolutionMigration::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.
Implements ILIAS\Setup\Migration.
Definition at line 46 of file class.ilExerciseSampleSolutionMigration.php.
ilExerciseSampleSolutionMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 54 of file class.ilExerciseSampleSolutionMigration.php.
References Vendor\Package\$d, $r, and ILIAS\Repository\int().
|
protected |
Definition at line 29 of file class.ilExerciseSampleSolutionMigration.php.