19declare(strict_types=1);
61 get_class($this) .
"::" . $this->label
94 if (($this->condition)($environment)) {
100 $admin_interaction->inform($this->message);
102 if ($this->block_setup) {
A condition that can't be met by ILIAS itself needs to be met by some external means.
getHash()
Get a hash for this objective.The hash of two objectives must be the same, if they are the same objec...
getPreconditions(Setup\Environment $environment)
getLabel()
Get a label that describes this objective.
isNotable()
Get to know if this is an interesting objective for a human.
achieve(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
@inheritDoc
__construct(string $label, \Closure $condition, ?string $message=null, bool $block_setup=false)
Signals that the setup is not executable at all.
Signals that some goal won't be achievable by actions of the system ever.
An environment holds resources to be used in the setup process.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
const RESOURCE_ADMIN_INTERACTION
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...