ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (Config $config) | |
getHash () | |
Get a hash for this objective. More... | |
getLabel () | |
Get a label that describes this objective. More... | |
isNotable () | |
Get to know if this is an interesting objective for a human. More... | |
getPreconditions (Environment $environment) | |
Objectives might depend on other objectives. More... | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
isApplicable (Environment $environment) | |
Protected Attributes | |
Config | $config |
Definition at line 13 of file class.ilLoggingConfigStoredObjective.php.
ilLoggingConfigStoredObjective::__construct | ( | Config | $config | ) |
Definition at line 17 of file class.ilLoggingConfigStoredObjective.php.
References $config.
ilLoggingConfigStoredObjective::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 44 of file class.ilLoggingConfigStoredObjective.php.
References $ini, and ILIAS\Setup\Environment\getResource().
ilLoggingConfigStoredObjective::getHash | ( | ) |
Get a hash for this objective.
The hash of two objectives must be the same, if they are the same objective, with the same config on the same environment, i.e. if the one is achieved the other is achieved as well because they are the same.
Implements ILIAS\Setup\Objective.
Definition at line 22 of file class.ilLoggingConfigStoredObjective.php.
ilLoggingConfigStoredObjective::getLabel | ( | ) |
Get a label that describes this objective.
Implements ILIAS\Setup\Objective.
Definition at line 27 of file class.ilLoggingConfigStoredObjective.php.
ilLoggingConfigStoredObjective::getPreconditions | ( | Environment | $environment | ) |
Objectives might depend on other objectives.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Objective.
Definition at line 37 of file class.ilLoggingConfigStoredObjective.php.
ilLoggingConfigStoredObjective::isApplicable | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 74 of file class.ilLoggingConfigStoredObjective.php.
References ILIAS\LTI\ToolProvider\$enabled, $ini, and ILIAS\Setup\Environment\getResource().
ilLoggingConfigStoredObjective::isNotable | ( | ) |
Get to know if this is an interesting objective for a human.
Implements ILIAS\Setup\Objective.
Definition at line 32 of file class.ilLoggingConfigStoredObjective.php.
|
protected |
Definition at line 15 of file class.ilLoggingConfigStoredObjective.php.
Referenced by __construct().