ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilUICoreSetupAgent. More...
Public Member Functions | |
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) | |
Get the goals the agent wants to achieve on setup.The provided configuration is to be used to set according configuration values in the installation.
More... | |
getUpdateObjective (?Config $config=null) | |
Get the goal the agent wants to achieve on update.The provided configuration is to be used to change according configuration values in the installation. If this is not possible for some reason, an according UnachievableException needs to be thrown in the according objective.The configuration is not to be used to initialize the required environment for the objectives. This must be done via ClientIdReadObjective and depending objectives like ilIniFilesLoadedObjective.If no configuration is provided the configuration of the component should stay as is.
More... | |
getBuildObjective () | |
Get the goal the agent wants to achieve to build artifacts.
More... | |
getStatusObjective (Storage $storage) | |
getMigrations () | |
@inheritDoc More... | |
getNamedObjectives (?Config $config=null) | |
@inheritDoc More... | |
![]() | |
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) | |
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... | |
getBuildObjective () | |
Get the goal the agent wants to achieve to build artifacts. More... | |
getStatusObjective (Metrics\Storage $storage) | |
Get the objective to be achieved when status is requested. More... | |
getMigrations () | |
Get a named map of migrations available for this Agent. More... | |
getNamedObjectives (?Config $config=null) | |
Gets all named objectives The keys of the returned array are the commands. More... | |
Class ilUICoreSetupAgent.
Definition at line 35 of file class.ilUICoreSetupAgent.php.
ilUICoreSetupAgent::getArrayToConfigTransformation | ( | ) |
Agents must be able to tell how to create a configuration from a nested array.
Implements ILIAS\Setup\Agent.
Definition at line 48 of file class.ilUICoreSetupAgent.php.
ilUICoreSetupAgent::getBuildObjective | ( | ) |
Get the goal the agent wants to achieve to build artifacts.
Implements ILIAS\Setup\Agent.
Definition at line 74 of file class.ilUICoreSetupAgent.php.
Referenced by getNamedObjectives().
ilUICoreSetupAgent::getInstallObjective | ( | ?Config | $config = null | ) |
Get the goals the agent wants to achieve on setup.The provided configuration is to be used to set according configuration values in the installation.
Implements ILIAS\Setup\Agent.
Definition at line 56 of file class.ilUICoreSetupAgent.php.
ilUICoreSetupAgent::getMigrations | ( | ) |
@inheritDoc
Implements ILIAS\Setup\Agent.
Definition at line 96 of file class.ilUICoreSetupAgent.php.
ilUICoreSetupAgent::getNamedObjectives | ( | ?Config | $config = null | ) |
@inheritDoc
Implements ILIAS\Setup\Agent.
Definition at line 104 of file class.ilUICoreSetupAgent.php.
References getBuildObjective(), and getUpdateObjective().
ilUICoreSetupAgent::getStatusObjective | ( | Storage | $storage | ) |
Definition at line 88 of file class.ilUICoreSetupAgent.php.
ilUICoreSetupAgent::getUpdateObjective | ( | ?Config | $config = null | ) |
Get the goal the agent wants to achieve on update.The provided configuration is to be used to change according configuration values in the installation. If this is not possible for some reason, an according UnachievableException needs to be thrown in the according objective.The configuration is not to be used to initialize the required environment for the objectives. This must be done via ClientIdReadObjective and depending objectives like ilIniFilesLoadedObjective.If no configuration is provided the configuration of the component should stay as is.
Implements ILIAS\Setup\Agent.
Definition at line 64 of file class.ilUICoreSetupAgent.php.
Referenced by getNamedObjectives().
ilUICoreSetupAgent::hasConfig | ( | ) |
Does this agent require a configuration?
Implements ILIAS\Setup\Agent.
Definition at line 40 of file class.ilUICoreSetupAgent.php.