50 get_class($this) .
"::" . $this->label
83 if (($this->condition)($environment)) {
89 $admin_interaction->inform($this->message);
93 "An external condition was not met: {$this->label}"
achieve(Environment $environment)
Objectives can be achieved.They might add resources to the environment when they have been achieved...
An objective is a desired state of the system that is supposed to be created by the setup...
getHash()
Get a hash for this objective.The hash of two objectives must be the same, if they are the same objec...
A condition that can't be met by ILIAS itself needs to be met by some external means.
Signals that some goal won't be achievable by actions of the system ever.
__construct(string $label, callable $condition, string $message=null)
getLabel()
Get a label that describes this objective.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
getPreconditions(Environment $environment)
Objectives might depend on other objectives.if the objective is not achievableObjective[] ...
isNotable()
Get to know if this is an interesting objective for a human.
An environment holds resources to be used in the setup process.
const RESOURCE_ADMIN_INTERACTION