ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Public Member Functions | |
__construct (Refinery\Factory $refinery) | |
hasConfig () | |
Does this agent require a configuration? More... | |
getArrayToConfigTransformation () | |
Agents must be able to tell how to create a configuration from a nested array. More... | |
getInstallObjective (?Setup\Config $config=null) | |
getUpdateObjective (?Setup\Config $config=null) | |
getBuildObjective () | |
Get the goal the agent wants to achieve to build artifacts. More... | |
getStatusObjective (Setup\Metrics\Storage $storage) | |
getMigrations () | |
Get a named map of migrations available for this Agent. More... | |
getNamedObjectives (?Setup\Config $config=null) | |
![]() | |
getInstallObjective (?Config $config=null) | |
Get the goals the agent wants to achieve on setup. More... | |
getUpdateObjective (?Config $config=null) | |
Get the goal the agent wants to achieve on update. More... | |
getStatusObjective (Metrics\Storage $storage) | |
Get the objective to be achieved when status is requested. More... | |
getNamedObjectives (?Config $config=null) | |
Gets all named objectives The keys of the returned array are the commands. More... | |
Protected Attributes | |
ILIAS Refinery Factory | $refinery |
Definition at line 24 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::__construct | ( | Refinery\Factory | $refinery | ) |
Definition at line 28 of file class.ilOrgUnitSetupAgent.php.
References $refinery, and ILIAS\Repository\refinery().
ilOrgUnitSetupAgent::getArrayToConfigTransformation | ( | ) |
Agents must be able to tell how to create a configuration from a nested array.
LogicException | if Agent has no Config |
Implements ILIAS\Setup\Agent.
Definition at line 39 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::getBuildObjective | ( | ) |
Get the goal the agent wants to achieve to build artifacts.
InvalidArgumentException | if Config does not match the Agent. |
Implements ILIAS\Setup\Agent.
Definition at line 54 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::getInstallObjective | ( | ?Setup\Config | $config = null | ) |
Definition at line 44 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::getMigrations | ( | ) |
Get a named map of migrations available for this Agent.
Should also return Migrations that have run completely.
Implements ILIAS\Setup\Agent.
Definition at line 64 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::getNamedObjectives | ( | ?Setup\Config | $config = null | ) |
Definition at line 69 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::getStatusObjective | ( | Setup\Metrics\Storage | $storage | ) |
Definition at line 59 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::getUpdateObjective | ( | ?Setup\Config | $config = null | ) |
Definition at line 49 of file class.ilOrgUnitSetupAgent.php.
ilOrgUnitSetupAgent::hasConfig | ( | ) |
Does this agent require a configuration?
Implements ILIAS\Setup\Agent.
Definition at line 34 of file class.ilOrgUnitSetupAgent.php.
Definition at line 26 of file class.ilOrgUnitSetupAgent.php.
Referenced by __construct().