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}" getPreconditions(Setup\Environment $environment)
An objective is a desired state of the system that is supposed to be created by the setup...
isApplicable(Setup\Environment $environment)
Signals that some goal won't be achievable by actions of the system ever.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
getLabel()
Get a label that describes this objective.
__construct(string $label, callable $condition, string $message=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
achieve(Setup\Environment $environment)
A condition that can't be met by ILIAS itself needs to be met by some external means.
const RESOURCE_ADMIN_INTERACTION
getHash()
Get a hash for this objective.The hash of two objectives must be the same, if they are the same objec...
isNotable()
Get to know if this is an interesting objective for a human.