ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
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) | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
isApplicable (Environment $environment) | |
@inheritDoc More... | |
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) | |
Get to know whether the objective is applicable. More... | |
Definition at line 25 of file class.ilDatabaseInitializedObjective.php.
ilDatabaseInitializedObjective::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.
LogicException if there are unfullfilled preconditions.
RuntimeException if there are missing resources.
Implements ILIAS\Setup\Objective.
Definition at line 62 of file class.ilDatabaseInitializedObjective.php.
References ILIAS\Setup\Environment\getResource(), ilDBWrapperFactory\getWrapper(), ilDBConstants\TYPE_INNODB, and ILIAS\Setup\Environment\withResource().
ilDatabaseInitializedObjective::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 27 of file class.ilDatabaseInitializedObjective.php.
ilDatabaseInitializedObjective::getLabel | ( | ) |
Get a label that describes this objective.
Implements ILIAS\Setup\Objective.
Definition at line 32 of file class.ilDatabaseInitializedObjective.php.
ilDatabaseInitializedObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 45 of file class.ilDatabaseInitializedObjective.php.
References ILIAS\Setup\Environment\getConfigFor(), and ILIAS\Setup\Environment\hasConfigFor().
ilDatabaseInitializedObjective::isApplicable | ( | Environment | $environment | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 90 of file class.ilDatabaseInitializedObjective.php.
References ILIAS\Setup\Environment\getResource().
ilDatabaseInitializedObjective::isNotable | ( | ) |
Get to know if this is an interesting objective for a human.
Implements ILIAS\Setup\Objective.
Definition at line 37 of file class.ilDatabaseInitializedObjective.php.