|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilDataCollectionObjective:
Collaboration diagram for ilDataCollectionObjective:Public Member Functions | |
| getPreconditions (Environment $environment) | |
| Objectives might depend on other objectives. More... | |
| achieve (Environment $environment) | |
| Objectives can be achieved. More... | |
Public Member Functions inherited from ilDatabaseUpdateStepsExecutedObjective | |
| __construct (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) | |
Additional Inherited Members | |
Data Fields inherited from ilDatabaseUpdateStepsExecutedObjective | |
| const | STEP_METHOD_PREFIX = "step_" |
Protected Member Functions inherited from ilDatabaseUpdateStepsExecutedObjective | |
| throwStepNotFinishedException (int $started, int $finished) | |
Protected Attributes inherited from ilDatabaseUpdateStepsExecutedObjective | |
| ilDatabaseUpdateSteps | $steps |
| string | $steps_class |
Definition at line 24 of file class.ilDataCollectionObjective.php.
| 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 37 of file class.ilDataCollectionObjective.php.
References $DIC, ilLoggerFactory\getInstance(), and ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:| ilDataCollectionObjective::getPreconditions | ( | Environment | $environment | ) |
Objectives might depend on other objectives.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Objective.
Definition at line 26 of file class.ilDataCollectionObjective.php.