ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Repository\Setup\Agent Class Reference
+ Inheritance diagram for ILIAS\Repository\Setup\Agent:
+ Collaboration diagram for ILIAS\Repository\Setup\Agent:

Public Member Functions

 getUpdateObjective (?Setup\Config $config=null)
 
 getStatusObjective (Metrics\Storage $storage)
 @inheritdocs More...
 
- Public Member Functions inherited from ILIAS\Setup\Agent\NullAgent
 __construct (Refinery $refinery)
 
 hasConfig ()
 @inheritdocs More...
 
 getArrayToConfigTransformation ()
 @inheritdocs More...
 
 getInstallObjective (?Config $config=null)
 @inheritdocs More...
 
 getUpdateObjective (?Config $config=null)
 @inheritdocs More...
 
 getBuildObjective ()
 @inheritdocs More...
 
 getStatusObjective (Metrics\Storage $storage)
 @inheritdocs More...
 
 getMigrations ()
 @inheritDoc More...
 
 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
 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...
 

Additional Inherited Members

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

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 30 of file class.Agent.php.

Member Function Documentation

◆ getStatusObjective()

ILIAS\Repository\Setup\Agent::getStatusObjective ( Metrics\Storage  $storage)

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 37 of file class.Agent.php.

37 : Objective
38 {
39 return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new RepositoryDBUpdateSteps());
40 }

◆ getUpdateObjective()

ILIAS\Repository\Setup\Agent::getUpdateObjective ( ?Setup\Config  $config = null)

Definition at line 32 of file class.Agent.php.

32 : Setup\Objective
33 {
34 return new \ilDatabaseUpdateStepsExecutedObjective(new RepositoryDBUpdateSteps());
35 }

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