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

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

Member Function Documentation

◆ getArrayToConfigTransformation()

ilIndividualAssessmentSetupAgent::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.ilIndividualAssessmentSetupAgent.php.

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

◆ getBuildObjective()

ilIndividualAssessmentSetupAgent::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 65 of file class.ilIndividualAssessmentSetupAgent.php.

65  : Setup\Objective
66  {
67  return new Setup\Objective\NullObjective();
68  }

◆ getInstallObjective()

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

Definition at line 47 of file class.ilIndividualAssessmentSetupAgent.php.

47  : Setup\Objective
48  {
49  return new Setup\Objective\NullObjective();
50  }

◆ getMigrations()

ilIndividualAssessmentSetupAgent::getMigrations ( )

Implements ILIAS\Setup\Agent.

Definition at line 81 of file class.ilIndividualAssessmentSetupAgent.php.

81  : array
82  {
83  return [];
84  }

◆ getStatusObjective()

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

Definition at line 73 of file class.ilIndividualAssessmentSetupAgent.php.

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

◆ getUpdateObjective()

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

Definition at line 55 of file class.ilIndividualAssessmentSetupAgent.php.

55  : Setup\Objective
56  {
59  );
60  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ hasConfig()

ilIndividualAssessmentSetupAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

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

31  : bool
32  {
33  return false;
34  }

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