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

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

Definition at line 25 of file class.ilCertificatSetupAgent.php.

Member Function Documentation

◆ getArrayToConfigTransformation()

ilCertificatSetupAgent::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 34 of file class.ilCertificatSetupAgent.php.

34  : Refinery\Transformation
35  {
36  throw new LogicException('Agent has no config.');
37  }

◆ getBuildObjective()

ilCertificatSetupAgent::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 55 of file class.ilCertificatSetupAgent.php.

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

◆ getInstallObjective()

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

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

39  : Setup\Objective
40  {
41  return new Setup\Objective\NullObjective();
42  }

◆ getMigrations()

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

71  : array
72  {
73  return [];
74  }

◆ getStatusObjective()

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

◆ getUpdateObjective()

◆ hasConfig()

ilCertificatSetupAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

Definition at line 29 of file class.ilCertificatSetupAgent.php.

29  : bool
30  {
31  return false;
32  }

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