ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilBibliographicSetupAgent Class Reference

Class ilBibliographicSetupAgent. More...

+ Inheritance diagram for ilBibliographicSetupAgent:
+ Collaboration diagram for ilBibliographicSetupAgent:

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.
Exceptions
LogicExceptionif Agent has no Config
More...
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildObjective ()
 Get the goal the agent wants to achieve to build artifacts.
Exceptions
InvalidArgumentExceptionif Config does not match the Agent.
More...
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 
- 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...
 

Data Fields

const COMPONENT_DIR = 'bibl'
 

Detailed Description

Member Function Documentation

◆ getArrayToConfigTransformation()

ilBibliographicSetupAgent::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 46 of file class.ilBibliographicSetupAgent.php.

46  : Refinery\Transformation
47  {
48  throw new LogicException("ilBibliographicSetupAgent has no config.");
49  }

◆ getBuildObjective()

ilBibliographicSetupAgent::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 77 of file class.ilBibliographicSetupAgent.php.

77  : Setup\Objective
78  {
79  return new Setup\Objective\NullObjective();
80  }

◆ getInstallObjective()

◆ getMigrations()

ilBibliographicSetupAgent::getMigrations ( )

Implements ILIAS\Setup\Agent.

Definition at line 93 of file class.ilBibliographicSetupAgent.php.

93  : array
94  {
95  return [];
96  }

◆ getStatusObjective()

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

Definition at line 85 of file class.ilBibliographicSetupAgent.php.

85  : Setup\Objective
86  {
88  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ getUpdateObjective()

ilBibliographicSetupAgent::getUpdateObjective ( Setup\Config  $config = null)

Definition at line 65 of file class.ilBibliographicSetupAgent.php.

65  : Setup\Objective
66  {
67  return new Setup\ObjectiveCollection('Setup Bibliografic directories and database', true, ...[
69  new ilBibliograficDB80()
70  )
71  ]);
72  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ hasConfig()

ilBibliographicSetupAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

Definition at line 38 of file class.ilBibliographicSetupAgent.php.

38  : bool
39  {
40  return false;
41  }

Field Documentation

◆ COMPONENT_DIR

const ilBibliographicSetupAgent::COMPONENT_DIR = 'bibl'

Definition at line 33 of file class.ilBibliographicSetupAgent.php.


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