◆ getArrayToConfigTransformation()
| ILIAS\FileDelivery\Setup\Agent::getArrayToConfigTransformation |
( |
| ) |
|
Agents must be able to tell how to create a configuration from a nested array.
- Exceptions
-
| LogicException | if Agent has no Config |
Implements ILIAS\Setup\Agent.
Definition at line 55 of file Agent.php.
◆ getBuildObjective()
| ILIAS\FileDelivery\Setup\Agent::getBuildObjective |
( |
| ) |
|
Get the goal the agent wants to achieve to build artifacts.
- Exceptions
-
| InvalidArgumentException | if Config does not match the Agent. |
Implements ILIAS\Setup\Agent.
Definition at line 34 of file Agent.php.
36 return new Setup\ObjectiveCollection(
37 'File StreamDelivery Artifacts',
39 new KeyRotationObjective(),
40 new DeliveryMethodObjective(),
◆ getInstallObjective()
| ILIAS\FileDelivery\Setup\Agent::getInstallObjective |
( |
Config |
$config = null | ) |
|
Definition at line 60 of file Agent.php.
62 return new DeliveryMethodObjective();
◆ getMigrations()
| ILIAS\FileDelivery\Setup\Agent::getMigrations |
( |
| ) |
|
Get a named map of migrations available for this Agent.
Should also return Migrations that have run completely.
- Returns
- array<string,Migration>|Migration[]
Implements ILIAS\Setup\Agent.
Definition at line 75 of file Agent.php.
◆ getNamedObjectives()
| ILIAS\FileDelivery\Setup\Agent::getNamedObjectives |
( |
?Config |
$config = null | ) |
|
◆ getStatusObjective()
| ILIAS\FileDelivery\Setup\Agent::getStatusObjective |
( |
Metrics\Storage |
$storage | ) |
|
Definition at line 70 of file Agent.php.
72 return new Objective\NullObjective();
◆ getUpdateObjective()
| ILIAS\FileDelivery\Setup\Agent::getUpdateObjective |
( |
Config |
$config = null | ) |
|
Definition at line 65 of file Agent.php.
67 return new DeliveryMethodObjective();
◆ hasConfig()
| ILIAS\FileDelivery\Setup\Agent::hasConfig |
( |
| ) |
|
The documentation for this class was generated from the following file:
- components/ILIAS/FileDelivery/src/Setup/Agent.php