19declare(strict_types=1);
30 use Setup\Agent\HasNoNamedObjective;
39 throw new LogicException(
'Agent has no config.');
getMigrations()
Get a named map of migrations available for this Agent.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
getUpdateObjective(?Setup\Config $config=null)
getInstallObjective(?Setup\Config $config=null)
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
getStatusObjective(Setup\Metrics\Storage $storage)
hasConfig()
Does this agent require a configuration?
A non-objective, nothing to do to achieve it...
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.
Storage is simple key/value store without further schema definition.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...