ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestQuestionPoolSetupAgent Class Reference
+ Inheritance diagram for ilTestQuestionPoolSetupAgent:
+ Collaboration diagram for ilTestQuestionPoolSetupAgent:

Public Member Functions

 getUpdateObjective (ILIAS\Setup\Config $config=null)
 
 getStatusObjective (Metrics\Storage $storage)
 
 getMigrations ()
 Get a named map of migrations available for this Agent. More...
 
- Public Member Functions inherited from ILIAS\Setup\Agent\NullAgent
 __construct (Refinery $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Config $config=null)
 
 getUpdateObjective (Config $config=null)
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Metrics\Storage $storage)
 
 getMigrations ()
 
 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
 getStatusObjective (Metrics\Storage $storage)
 Get the objective to be achieved when status is requested. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 25 of file class.ilTestQuestionPoolSetupAgent.php.

Member Function Documentation

◆ getMigrations()

ilTestQuestionPoolSetupAgent::getMigrations ( )

Get a named map of migrations available for this Agent.

Should also return Migrations that have run completely.

Returns
array<string,Migration>|Migration[]

Implements ILIAS\Setup\Agent.

Definition at line 57 of file class.ilTestQuestionPoolSetupAgent.php.

◆ getStatusObjective()

ilTestQuestionPoolSetupAgent::getStatusObjective ( Metrics\Storage  $storage)

Definition at line 41 of file class.ilTestQuestionPoolSetupAgent.php.

41  : Objective
42  {
43  return new ObjectiveCollection(
44  'Module/TestQuestionPool',
45  true,
47  $storage,
49  ),
51  $storage,
53  )
54  );
55  }
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()

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

Definition at line 27 of file class.ilTestQuestionPoolSetupAgent.php.

28  {
29  return new ObjectiveCollection(
30  'Database is updated for Module/TestQuestionPool',
31  false,
34  ),
37  )
38  );
39  }
A objective collection is a objective that is achieved once all subobjectives are achieved...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

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