ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilStudyProgrammeSetupAgent Class Reference
+ Inheritance diagram for ilStudyProgrammeSetupAgent:
+ Collaboration diagram for ilStudyProgrammeSetupAgent:

Public Member Functions

 getUpdateObjective (?Config $config=null)
 
 getStatusObjective (Metrics\Storage $storage)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Config $config=null)
 
 getBuildObjective ()
 
 getMigrations ()
 
- Public Member Functions inherited from ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
 __construct (Refinery $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Config $config=null)
 
 getUpdateObjective (?Config $config=null)
 
 getBuildObjective ()
 
 getStatusObjective (Metrics\Storage $storage)
 
 getMigrations ()
 
 getNamedObjectives (?Config $config=null)
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
Refinery $refinery
 

Detailed Description

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

Member Function Documentation

◆ getArrayToConfigTransformation()

ilStudyProgrammeSetupAgent::getArrayToConfigTransformation ( )

Definition at line 71 of file class.ilStudyProgrammeSetupAgent.php.

72  {
73  throw new LogicException('Agent has no config.');
74  }
A transformation is a function from one datatype to another.

◆ getBuildObjective()

ilStudyProgrammeSetupAgent::getBuildObjective ( )

Definition at line 81 of file class.ilStudyProgrammeSetupAgent.php.

81  : Objective
82  {
83  return new NullObjective();
84  }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
A non-objective, nothing to do to achieve it...

◆ getInstallObjective()

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

Definition at line 76 of file class.ilStudyProgrammeSetupAgent.php.

76  : Objective
77  {
78  return new NullObjective();
79  }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
A non-objective, nothing to do to achieve it...

◆ getMigrations()

ilStudyProgrammeSetupAgent::getMigrations ( )

Definition at line 86 of file class.ilStudyProgrammeSetupAgent.php.

86  : array
87  {
88  return [];
89  }

◆ getStatusObjective()

ilStudyProgrammeSetupAgent::getStatusObjective ( Metrics\Storage  $storage)

Definition at line 49 of file class.ilStudyProgrammeSetupAgent.php.

49  : Objective
50  {
51  return new ObjectiveCollection(
52  'Database is updated for component/ILIAS/StudyProgramme',
53  true,
54  // ILIAS 10
56  $storage,
58  ),
60  $storage,
62  ),
63  );
64  }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30

◆ getUpdateObjective()

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

Definition at line 34 of file class.ilStudyProgrammeSetupAgent.php.

34  : Objective
35  {
36  return new ObjectiveCollection(
37  'Database is updated for component/ILIAS/StudyProgramme',
38  false,
39  // ILIAS 10
42  ),
45  ),
46  );
47  }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30

◆ hasConfig()

ilStudyProgrammeSetupAgent::hasConfig ( )

Definition at line 66 of file class.ilStudyProgrammeSetupAgent.php.

66  : bool
67  {
68  return false;
69  }

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