35 throw new \LogicException(
"Not yet implemented.");
43 return $this->refinery->custom()->transformation(
function (
$data) {
44 $settings = new \ilGlobalCacheSettings();
45 if (
$data ===
null || !
$data[
"components"] ||
$data[
"service"] ==
"none") {
46 $settings->setActive(
false);
48 $settings->setActive(
true);
49 switch (
$data[
"service"]) {
63 throw new \InvalidArgumentException(
64 "Unknown caching service: '{$data["service
"]}'"
67 $settings->resetActivatedComponents();
68 if (
$data[
"components"] ==
"all") {
69 $settings->activateAll();
71 foreach (
$data[
"components"] as $cmp) {
72 $settings->addActivatedComponents($cmp);
86 "Complete objectives from Services/GlobalCache",
An exception for terminatinating execution or to throw for unit testing.
A non-objective, nothing to do to achieve it...
A objective collection is a objective that is achieved once all subobjectives are achieved.
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
getBuildArtifactObjective()
__construct(Refinery\Factory $refinery)
getArrayToConfigTransformation()
getConfigInput(Setup\Config $config=null)
A agent is some component that performs part of the setup process.
A configuration for the setup.
An objective is a desired state of the system that is supposed to be created by the setup.
A component is the most general form of an entity in the UI.