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

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...
 

Detailed Description

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

Member Function Documentation

◆ getArrayToConfigTransformation()

ilLearningSequenceSetupAgent::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 39 of file class.ilLearningSequenceSetupAgent.php.

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

◆ getBuildObjective()

ilLearningSequenceSetupAgent::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 75 of file class.ilLearningSequenceSetupAgent.php.

75  : Setup\Objective
76  {
77  return new Setup\Objective\NullObjective();
78  }

◆ getInstallObjective()

◆ getMigrations()

ilLearningSequenceSetupAgent::getMigrations ( )

Implements ILIAS\Setup\Agent.

Definition at line 96 of file class.ilLearningSequenceSetupAgent.php.

96  : array
97  {
98  return [];
99  }

◆ getStatusObjective()

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

Definition at line 83 of file class.ilLearningSequenceSetupAgent.php.

83  : Setup\Objective
84  {
85  return new Setup\ObjectiveCollection(
86  'Component LearningSequence',
87  true,
90  );
91  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ getUpdateObjective()

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

Definition at line 58 of file class.ilLearningSequenceSetupAgent.php.

58  : Setup\Objective
59  {
60  return new Setup\ObjectiveCollection(
61  'Database is updated for Module/LearningSequence',
62  false,
65  ),
68  )
69  );
70  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ hasConfig()

ilLearningSequenceSetupAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

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

31  : bool
32  {
33  return false;
34  }

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