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

Public Member Functions

 getUpdateObjective (?ILIAS\Setup\Config $config=null)
 
 getStatusObjective (Metrics\Storage $storage)
 @inheritdocs More...
 
 getArrayToConfigTransformation ()
 @inheritdocs More...
 
 getInstallObjective (?Config $config=null)
 @inheritdocs 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 28 of file ilCourseSetupAgent.php.

Member Function Documentation

◆ getArrayToConfigTransformation()

ilCourseSetupAgent::getArrayToConfigTransformation ( )

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 42 of file ilCourseSetupAgent.php.

43 {
44 throw new \LogicException("Agent has no config.");
45 }
A transformation is a function from one datatype to another.

◆ getBuildObjective()

ilCourseSetupAgent::getBuildObjective ( )

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 52 of file ilCourseSetupAgent.php.

52 : Objective
53 {
54 return new Setup\Objective\NullObjective();
55 }
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31

◆ getInstallObjective()

ilCourseSetupAgent::getInstallObjective ( ?Config  $config = null)

@inheritdocs

Reimplemented from ILIAS\Setup\Agent\NullAgent.

Definition at line 47 of file ilCourseSetupAgent.php.

47 : Objective
48 {
49 return new Setup\Objective\NullObjective();
50 }

◆ getStatusObjective()

◆ getUpdateObjective()

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

Definition at line 32 of file ilCourseSetupAgent.php.

32 : Objective
33 {
35 }
This class attempt to achieve a set of database update steps.

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