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

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Setup\Config $config=null)
 
 getUpdateObjective (?Setup\Config $config=null)
 
 getBuildObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 
 getNamedObjectives (?Setup\Config $config=null)
 

Protected Attributes

ILIAS Refinery Factory $refinery
 

Detailed Description

Definition at line 24 of file class.ilOrgUnitSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilOrgUnitSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 28 of file class.ilOrgUnitSetupAgent.php.

30 {
31 $this->refinery = $refinery;
32 }
ILIAS Refinery Factory $refinery

References $refinery, and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilOrgUnitSetupAgent::getArrayToConfigTransformation ( )

Definition at line 39 of file class.ilOrgUnitSetupAgent.php.

39 : Refinery\Transformation
40 {
41 throw new LogicException("Agent has no config");
42 }

◆ getBuildObjective()

ilOrgUnitSetupAgent::getBuildObjective ( )

Definition at line 54 of file class.ilOrgUnitSetupAgent.php.

54 : Setup\Objective
55 {
56 return new Setup\Objective\NullObjective();
57 }

◆ getInstallObjective()

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

Definition at line 44 of file class.ilOrgUnitSetupAgent.php.

44 : Setup\Objective
45 {
46 return new Setup\Objective\NullObjective();
47 }

◆ getMigrations()

ilOrgUnitSetupAgent::getMigrations ( )

Definition at line 64 of file class.ilOrgUnitSetupAgent.php.

64 : array
65 {
66 return [];
67 }

◆ getNamedObjectives()

ilOrgUnitSetupAgent::getNamedObjectives ( ?Setup\Config  $config = null)

Definition at line 69 of file class.ilOrgUnitSetupAgent.php.

69 : array
70 {
71 return [
72 'removeDeletedUsersFromOrgUnits' => new Setup\ObjectiveConstructor(
73 'clean assignments of deleted users',
75 )
76 ];
77 }
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31

◆ getStatusObjective()

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

Definition at line 59 of file class.ilOrgUnitSetupAgent.php.

59 : Setup\Objective
60 {
61 return new Setup\Objective\NullObjective();
62 }

◆ getUpdateObjective()

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

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

49 : Setup\Objective
50 {
51 return new Setup\Objective\NullObjective();
52 }

◆ hasConfig()

ilOrgUnitSetupAgent::hasConfig ( )

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

34 : bool
35 {
36 return false;
37 }

Field Documentation

◆ $refinery

ILIAS Refinery Factory ilOrgUnitSetupAgent::$refinery
protected

Definition at line 26 of file class.ilOrgUnitSetupAgent.php.

Referenced by __construct().


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