ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
ILIAS\Help\Setup\Agent Class Reference
+ Inheritance diagram for ILIAS\Help\Setup\Agent:
+ Collaboration diagram for ILIAS\Help\Setup\Agent:

Public Member Functions

 getUpdateObjective (?Setup\Config $config=null)
 
 getStatusObjective (Metrics\Storage $storage)
 @inheritdocs More...
 
 getBuildArtifactObjective ()
 
- 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

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

Member Function Documentation

◆ getBuildArtifactObjective()

ILIAS\Help\Setup\Agent::getBuildArtifactObjective ( )

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

44 : Setup\Objective
45 {
46 return new \ilHelpBuildScreenIdMapObjective();
47 }

◆ getStatusObjective()

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

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

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

39 : Objective
40 {
41 return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilHelpDBUpdateSteps());
42 }

◆ getUpdateObjective()

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

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

29 : Setup\Objective
30 {
31 return new Setup\ObjectiveCollection(
32 'Help Update',
33 true,
34 new \ilDatabaseUpdateStepsExecutedObjective(new ilHelpDBUpdateSteps()),
35 new \ilDatabaseUpdateStepsExecutedObjective(new ilHelpDB10HotfixSteps())
36 );
37 }
This class attempt to achieve a set of database update steps.

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