ILIAS
release_7 Revision v7.30-3-g800a261c036
|
A callable objective wraps a callable into an objective. More...
Public Member Functions | |
__construct (callable $callable, string $label, bool $is_notable, Setup\Objective ... $preconditions) | |
getHash () | |
getLabel () | |
isNotable () | |
getPreconditions (Setup\Environment $environment) | |
achieve (Setup\Environment $environment) | |
isApplicable (Setup\Environment $environment) | |
![]() | |
getPreconditions (Environment $environment) | |
Objectives might depend on other objectives. More... | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
isApplicable (Environment $environment) | |
Get to know whether the objective is applicable. More... | |
Protected Attributes | |
$callable | |
$label | |
$is_notable | |
$preconditions | |
A callable objective wraps a callable into an objective.
The callable receives the environment as parameter. It may return an updated version of the environment, other results will be discarded.
Definition at line 15 of file CallableObjective.php.
ILIAS\Setup\Objective\CallableObjective::__construct | ( | callable | $callable, |
string | $label, | ||
bool | $is_notable, | ||
Setup\Objective ... | $preconditions | ||
) |
Definition at line 37 of file CallableObjective.php.
References ILIAS\Setup\Objective\CallableObjective\$callable, ILIAS\Setup\Objective\CallableObjective\$is_notable, ILIAS\Setup\Objective\CallableObjective\$label, and ILIAS\Setup\Objective\CallableObjective\$preconditions.
ILIAS\Setup\Objective\CallableObjective::achieve | ( | Setup\Environment | $environment | ) |
ILIAS\Setup\Objective\CallableObjective::getHash | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 48 of file CallableObjective.php.
ILIAS\Setup\Objective\CallableObjective::getLabel | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 59 of file CallableObjective.php.
References ILIAS\Setup\Objective\CallableObjective\$label.
ILIAS\Setup\Objective\CallableObjective::getPreconditions | ( | Setup\Environment | $environment | ) |
Definition at line 75 of file CallableObjective.php.
References ILIAS\Setup\Objective\CallableObjective\$preconditions.
ILIAS\Setup\Objective\CallableObjective::isApplicable | ( | Setup\Environment | $environment | ) |
Definition at line 95 of file CallableObjective.php.
ILIAS\Setup\Objective\CallableObjective::isNotable | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 67 of file CallableObjective.php.
References ILIAS\Setup\Objective\CallableObjective\$is_notable.
|
protected |
Definition at line 20 of file CallableObjective.php.
Referenced by ILIAS\Setup\Objective\CallableObjective\__construct().
|
protected |
Definition at line 30 of file CallableObjective.php.
Referenced by ILIAS\Setup\Objective\CallableObjective\__construct(), and ILIAS\Setup\Objective\CallableObjective\isNotable().
|
protected |
Definition at line 25 of file CallableObjective.php.
Referenced by ILIAS\Setup\Objective\CallableObjective\__construct(), and ILIAS\Setup\Objective\CallableObjective\getLabel().
|
protected |
Definition at line 35 of file CallableObjective.php.
Referenced by ILIAS\Setup\Objective\CallableObjective\__construct(), and ILIAS\Setup\Objective\CallableObjective\getPreconditions().