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

Public Member Functions

 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 (?Setup\Config $config=null)
 
 getUpdateObjective (?Setup\Config $config=null)
 
 getBuildObjective ()
 Get the goal the agent wants to achieve to build artifacts. More...
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 Get a named map of migrations available for this Agent. More...
 
- Public Member Functions inherited from ILIAS\Setup\Agent
 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...
 
 getStatusObjective (Metrics\Storage $storage)
 Get the objective to be achieved when status is requested. More...
 
 getNamedObjectives (?Config $config=null)
 Gets all named objectives The keys of the returned array are the commands. More...
 

Detailed Description

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

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

Member Function Documentation

◆ getArrayToConfigTransformation()

ilGlossarySetupAgent::getArrayToConfigTransformation ( )

Agents must be able to tell how to create a configuration from a nested array.

Exceptions
LogicExceptionif Agent has no Config

Implements ILIAS\Setup\Agent.

Definition at line 36 of file class.ilGlossarySetupAgent.php.

36  : Refinery\Transformation
37  {
38  throw new LogicException("ilGlossarySetupAgent has no config.");
39  }

◆ getBuildObjective()

ilGlossarySetupAgent::getBuildObjective ( )

Get the goal the agent wants to achieve to build artifacts.

Exceptions
InvalidArgumentExceptionif Config does not match the Agent.

Implements ILIAS\Setup\Agent.

Definition at line 56 of file class.ilGlossarySetupAgent.php.

56  : Setup\Objective
57  {
58  return new Setup\Objective\NullObjective();
59  }

◆ getInstallObjective()

ilGlossarySetupAgent::getInstallObjective ( ?Setup\Config  $config = null)

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

41  : Setup\Objective
42  {
43  return new Setup\Objective\NullObjective();
44  }

◆ getMigrations()

ilGlossarySetupAgent::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 71 of file class.ilGlossarySetupAgent.php.

◆ getStatusObjective()

ilGlossarySetupAgent::getStatusObjective ( Setup\Metrics\Storage  $storage)

Definition at line 61 of file class.ilGlossarySetupAgent.php.

◆ getUpdateObjective()

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

Definition at line 46 of file class.ilGlossarySetupAgent.php.

◆ hasConfig()

ilGlossarySetupAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

Definition at line 31 of file class.ilGlossarySetupAgent.php.

31  : bool
32  {
33  return false;
34  }

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