ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (protected 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 (?Config $config=null) | |
getUpdateObjective (?Config $config=null) | |
getBuildObjective () | |
Get the goal the agent wants to achieve to build artifacts. More... | |
getStatusObjective (Storage $storage) | |
getMigrations () | |
Get a named map of migrations available for this Agent. More... | |
getNamedObjectives (?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... | |
Definition at line 34 of file class.ilADNAgent.php.
ilADNAgent::__construct | ( | protected Factory | $refinery | ) |
Definition at line 36 of file class.ilADNAgent.php.
ilADNAgent::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 47 of file class.ilADNAgent.php.
ilADNAgent::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 71 of file class.ilADNAgent.php.
Definition at line 53 of file class.ilADNAgent.php.
ilADNAgent::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 83 of file class.ilADNAgent.php.
Definition at line 88 of file class.ilADNAgent.php.
ilADNAgent::getStatusObjective | ( | Storage | $storage | ) |
Definition at line 77 of file class.ilADNAgent.php.
Definition at line 59 of file class.ilADNAgent.php.
ilADNAgent::hasConfig | ( | ) |
Does this agent require a configuration?
Implements ILIAS\Setup\Agent.
Definition at line 41 of file class.ilADNAgent.php.