ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (ilDatabaseUpdateSteps $steps) | |
getPreconditions (Environment $environment) | |
Objectives might depend on other objectives. More... | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
![]() | |
__construct (protected ilDatabaseUpdateSteps $steps) | |
getHash () | |
The hash for the objective is calculated over the classname and the steps that are contained. More... | |
getLabel () | |
Get a label that describes this objective. More... | |
isNotable () | |
getPreconditions (Environment $environment) | |
achieve (Environment $environment) | |
isApplicable (Environment $environment) | |
Protected Attributes | |
ilDatabaseUpdateSteps | $steps |
![]() | |
string | $steps_class |
Additional Inherited Members | |
![]() | |
const | STEP_METHOD_PREFIX = "step_" |
![]() | |
throwStepNotFinishedException (int $started, int $finished) | |
Definition at line 24 of file class.ilDataCollectionObjective.php.
ilDataCollectionObjective::__construct | ( | ilDatabaseUpdateSteps | $steps | ) |
Definition at line 29 of file class.ilDataCollectionObjective.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilDataCollectionObjective::achieve | ( | Environment | $environment | ) |
Objectives can be achieved.
They might add resources to the environment when they have been achieved.
This method needs to be idempotent for a given environment. That means: if this is executed a second time, nothing new should happen. Or the other way round: if the environment already looks like desired, the objective should not take any further actions when this is called.
Implements ILIAS\Setup\Objective.
Definition at line 49 of file class.ilDataCollectionObjective.php.
References $DIC, and ILIAS\Setup\Environment\getResource().
ilDataCollectionObjective::getPreconditions | ( | Environment | $environment | ) |
Objectives might depend on other objectives.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Objective.
Definition at line 38 of file class.ilDataCollectionObjective.php.
|
protected |
Definition at line 27 of file class.ilDataCollectionObjective.php.