14use Symfony\Component\Console\Input\InputInterface;
26 $this->setDescription(
"Reloads the control structure of the installation.");
31 $io->
title(
"Reloading control structure of ILIAS");
36 $io->
success(
"Control structure reloaded. Thanks and have fun!");
45 public function trackAchievementOf(
Objective $objective) :
void
48 public function isAchieved(
Objective $objective) :
bool
56 foreach (
$config->getKeys() as $k) {
71 "Install and update ILIAS",
An exception for terminatinating execution or to throw for unit testing.
An agent that is just a collection of some other agents.
withConfigFor(string $component, $config)
Stores a config for some component in the environment.RuntimeException if this config is already in t...
Wrapper around symfonies input and output facilities to provide just the functionality required for t...
Reload Control Structure command.
printIntroMessage(IOWrapper $io)
getObjective(Agent $agent, ?Config $config)
printOutroMessage(IOWrapper $io)
buildEnvironment(Agent $agent, ?Config $config, IOWrapper $io)
A objective collection is a objective that is achieved once all subobjectives are achieved.
Class ilCtrlStructureReader.
Tracks the achievement of objectives.
A agent is some component that performs part of the setup process.
A configuration for the setup.
An environment holds resources to be used in the setup process.
const RESOURCE_ACHIEVEMENT_TRACKER
const RESOURCE_ADMIN_INTERACTION
An objective is a desired state of the system that is supposed to be created by the setup.