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

Public Member Functions

 getUpdateObjective (?Config $config=null)
 @inheritdocs More...
 
 hasConfig ()
 @inheritdocs More...
 
 getArrayToConfigTransformation ()
 @inheritdocs More...
 
 getInstallObjective (?Config $config=null)
 @inheritdocs More...
 
 getBuildObjective ()
 @inheritdocs More...
 
 getMigrations ()
 @inheritDoc 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 31 of file ContainerSetupAgent.php.

Member Function Documentation

◆ getArrayToConfigTransformation()

ILIAS\Container\Setup\ContainerSetupAgent::getArrayToConfigTransformation ( )

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 53 of file ContainerSetupAgent.php.

53 : Transformation
54 {
55 throw new \LogicException("Agent has no config.");
56 }

◆ getBuildObjective()

ILIAS\Container\Setup\ContainerSetupAgent::getBuildObjective ( )

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 63 of file ContainerSetupAgent.php.

63 : Objective
64 {
65 return new NullObjective();
66 }

◆ getInstallObjective()

ILIAS\Container\Setup\ContainerSetupAgent::getInstallObjective ( ?Config  $config = null)

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 58 of file ContainerSetupAgent.php.

58 : Objective
59 {
60 return new NullObjective();
61 }

◆ getMigrations()

ILIAS\Container\Setup\ContainerSetupAgent::getMigrations ( )

@inheritDoc

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 68 of file ContainerSetupAgent.php.

68 : array
69 {
70 return [
71 ];
72 }

◆ getUpdateObjective()

ILIAS\Container\Setup\ContainerSetupAgent::getUpdateObjective ( ?Config  $config = null)

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 35 of file ContainerSetupAgent.php.

35 : Objective
36 {
37 return new ObjectiveCollection(
38 'Database is updated for ILIAS\Container',
39 false,
40 new WebFeedCreationDeletedObjective('cat', 'create_feed'),
41 new WebFeedCreationDeletedObjective('grp', 'create_feed'),
42 new WebFeedCreationDeletedObjective('crs', 'create_feed'),
43 new WebFeedCreationDeletedObjective('fold', 'create_feed')
44 );
45 }

◆ hasConfig()

ILIAS\Container\Setup\ContainerSetupAgent::hasConfig ( )

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 48 of file ContainerSetupAgent.php.

48 : bool
49 {
50 return false;
51 }

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