ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 27 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 36 of file class.ilCertificatSetupAgent.php.

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

◆ 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 57 of file class.ilCertificatSetupAgent.php.

57  : Setup\Objective
58  {
59  return new Setup\Objective\NullObjective();
60  }

◆ getInstallObjective()

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

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

41  : Setup\Objective
42  {
43  return new Setup\Objective\NullObjective();
44  }

◆ 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 73 of file class.ilCertificatSetupAgent.php.

◆ getStatusObjective()

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

◆ getUpdateObjective()

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

◆ hasConfig()

ilCertificatSetupAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

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

31  : bool
32  {
33  return false;
34  }

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