19 declare(strict_types=1);
49 throw new \LogicException(
"Agent has no config.");
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
A objective collection is a objective that is achieved once all subobjectives are achieved...
hasConfig()
Does this agent require a configuration?
An objective is a desired state of the system that is supposed to be created by the setup...
getNamedObjectives(?Config $config=null)
getStatusObjective(Storage $storage)
A agent is some component that performs part of the setup process.
getInstallObjective(?Config $config=null)
A non-objective, nothing to do to achieve it...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
getMigrations()
Get a named map of migrations available for this Agent.
getUpdateObjective(?Config $config=null)
__construct(protected Factory $refinery)
A configuration for the setup.