26 return hash(
"sha256", self::class);
31 return "The execution log for database update steps exists.";
42 new \ilDatabaseUpdatedObjective()
48 $db = $environment->
getResource(Environment::RESOURCE_DATABASE);
52 \ilDatabaseUpdateStepExecutionLog::class,
65 $execution_db = $environment->
getResource(\ilDatabaseUpdateStepExecutionLog::class);
66 return is_null($execution_db);
achieve(Environment $environment)
Objectives can be achieved.
An objective is a desired state of the system that is supposed to be created by the setup...
getLabel()
Get a label that describes this objective.
getPreconditions(Environment $environment)
Objectives might depend on other objectives.
isNotable()
Get to know if this is an interesting objective for a human.
withResource(string $id, $resource)
getHash()
Get a hash for this objective.
This logs the execution of database update steps.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
isApplicable(Environment $environment)
An environment holds resources to be used in the setup process.