ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
Objective.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2019 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
5 namespace ILIAS\Setup;
6 
14 interface Objective
15 {
23  public function getHash() : string;
24 
28  public function getLabel() : string;
29 
33  public function isNotable() : bool;
34 
42  public function getPreconditions(Environment $environment) : array;
43 
56  public function achieve(Environment $environment) : Environment;
57 
65  public function isApplicable(Environment $environment) : bool;
66 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:14
getHash()
Get a hash for this objective.
getLabel()
Get a label that describes this objective.
isApplicable(Environment $environment)
Get to know whether the objective is applicable.
getPreconditions(Environment $environment)
Objectives might depend on other objectives.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
achieve(Environment $environment)
Objectives can be achieved.
An environment holds resources to be used in the setup process.
Definition: Environment.php:11
isNotable()
Get to know if this is an interesting objective for a human.