ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilComponentsSetupAgent Class Reference
+ Inheritance diagram for ilComponentsSetupAgent:
+ Collaboration diagram for ilComponentsSetupAgent:

Public Member Functions

 __construct (protected PublicAssetManager $public_asset_manager, protected array $public_assets)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Setup\Config $config=null)
 
 getUpdateObjective (?Setup\Config $config=null)
 
 getBuildObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 @inheritDoc More...
 

Detailed Description

Definition at line 26 of file class.ilComponentsSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilComponentsSetupAgent::__construct ( protected PublicAssetManager  $public_asset_manager,
protected array  $public_assets 
)

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

33 {
34 }

Member Function Documentation

◆ getArrayToConfigTransformation()

ilComponentsSetupAgent::getArrayToConfigTransformation ( )

Definition at line 47 of file class.ilComponentsSetupAgent.php.

48 {
49 throw new LogicException(self::class . " has no Config.");
50 }
A transformation is a function from one datatype to another.

◆ getBuildObjective()

ilComponentsSetupAgent::getBuildObjective ( )

Definition at line 78 of file class.ilComponentsSetupAgent.php.

78 : Setup\Objective
79 {
80 return new Setup\ObjectiveCollection(
81 "Build Objectives of \\ILIAS\\Component",
82 false,
84 "Artifacts for \\ILIAS\\Component",
85 false,
88 ),
90 $this->public_asset_manager,
91 $this->public_assets
92 )
93 );
94 }
A objective collection is a objective that is achieved once all subobjectives are achieved.

◆ getInstallObjective()

ilComponentsSetupAgent::getInstallObjective ( ?Setup\Config  $config = null)

◆ getMigrations()

ilComponentsSetupAgent::getMigrations ( )

@inheritDoc

Definition at line 107 of file class.ilComponentsSetupAgent.php.

107 : array
108 {
109 return [];
110 }

◆ getStatusObjective()

◆ getUpdateObjective()

ilComponentsSetupAgent::getUpdateObjective ( ?Setup\Config  $config = null)

Definition at line 63 of file class.ilComponentsSetupAgent.php.

63 : Setup\Objective
64 {
65 return new Setup\ObjectiveCollection(
66 "Updates of Services/Components",
67 false,
70 ),
72 );
73 }
This class attempt to achieve a set of database update steps.

◆ hasConfig()

ilComponentsSetupAgent::hasConfig ( )

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

39 : bool
40 {
41 return false;
42 }

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