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

Public Member Functions

 getUpdateObjective (?Config $config=null)
 @inheritdocs More...
 
 getStatusObjective (Storage $storage)
 
 getMigrations ()
 @inheritDoc More...
 
 getBuildObjective ()
 @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

Definition at line 29 of file ilExportSetupAgent.php.

Member Function Documentation

◆ getBuildObjective()

ilExportSetupAgent::getBuildObjective ( )

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 54 of file ilExportSetupAgent.php.

54 : Objective
55 {
56 return new ilExportSetupBuildOptionsMapObjective();
57 }
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31

◆ getMigrations()

ilExportSetupAgent::getMigrations ( )

@inheritDoc

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 49 of file ilExportSetupAgent.php.

◆ getStatusObjective()

ilExportSetupAgent::getStatusObjective ( Storage  $storage)

Definition at line 40 of file ilExportSetupAgent.php.

40 : Objective
41 {
42 return new ObjectiveCollection(
43 'Component Export',
44 true,
45 new ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilExportSetupDBUpdateSteps10())
46 );
47 }
A objective collection is a objective that is achieved once all subobjectives are achieved.

◆ getUpdateObjective()

ilExportSetupAgent::getUpdateObjective ( ?Config  $config = null)

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 31 of file ilExportSetupAgent.php.

31 : Objective
32 {
33 return new ObjectiveCollection(
34 "Export",
35 false,
36 new ilDatabaseUpdateStepsExecutedObjective(new ilExportSetupDBUpdateSteps10())
37 );
38 }
This class attempt to achieve a set of database update steps.

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