ILIAS  release_8 Revision v8.23
ILIAS\Dashboard\Setup\ilDashboardUpdateAgent Class Reference
+ Inheritance diagram for ILIAS\Dashboard\Setup\ilDashboardUpdateAgent:
+ Collaboration diagram for ILIAS\Dashboard\Setup\ilDashboardUpdateAgent:

Public Member Functions

 getUpdateObjective (Config $config=null)
 Get the goal the agent wants to achieve on update. More...
 
- Public Member Functions inherited from ILIAS\Setup\Agent\NullAgent
 __construct (Refinery $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Config $config=null)
 
 getUpdateObjective (Config $config=null)
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Metrics\Storage $storage)
 
 getMigrations ()
 
 getNamedObjectives (?Config $config=null)
 Gets all named objectives The keys of the returned array are the commands. More...
 
- Public Member Functions inherited from ILIAS\Setup\Agent
 getStatusObjective (Metrics\Storage $storage)
 Get the objective to be achieved when status is requested. More...
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\Setup\Agent\NullAgent
Refinery $refinery
 

Detailed Description

Definition at line 28 of file ilDashboardUpdateAgent.php.

Member Function Documentation

◆ getUpdateObjective()

ILIAS\Dashboard\Setup\ilDashboardUpdateAgent::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.

Exceptions
InvalidArgumentExceptionif Config does not match the Agent..

Implements ILIAS\Setup\Agent.

Definition at line 30 of file ilDashboardUpdateAgent.php.

30  : Objective
31  {
32  return new ilDatabaseUpdateStepsExecutedObjective(new ilDashboardUpdateSteps());
33  }

The documentation for this class was generated from the following file: