ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent Class Reference

An agent that just doesn't do a thing. More...

+ Inheritance diagram for ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent:
+ Collaboration diagram for ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent:

Public Member Functions

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

Protected Attributes

Refinery $refinery
 

Detailed Description

An agent that just doesn't do a thing.

Definition at line 34 of file NullAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::__construct ( Refinery  $refinery)

Definition at line 38 of file NullAgent.php.

References ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent\$refinery, and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getArrayToConfigTransformation ( )

Definition at line 55 of file NullAgent.php.

55  : Transformation
56  {
57  throw new \LogicException(
58  self::class . " has no config."
59  );
60  }

◆ getBuildObjective()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getBuildObjective ( )

Definition at line 81 of file NullAgent.php.

81  : Objective
82  {
83  return new NullObjective();
84  }

◆ getInstallObjective()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getInstallObjective ( ?Config  $config = null)

Definition at line 65 of file NullAgent.php.

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

◆ getMigrations()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getMigrations ( )

Definition at line 97 of file NullAgent.php.

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

◆ getNamedObjectives()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getNamedObjectives ( ?Config  $config = null)

Definition at line 102 of file NullAgent.php.

102  : array
103  {
104  return [];
105  }

◆ getStatusObjective()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getStatusObjective ( Metrics\Storage  $storage)

Definition at line 89 of file NullAgent.php.

89  : Objective
90  {
91  return new NullObjective();
92  }

◆ getUpdateObjective()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::getUpdateObjective ( ?Config  $config = null)

Definition at line 73 of file NullAgent.php.

73  : Objective
74  {
75  return new NullObjective();
76  }

◆ hasConfig()

ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::hasConfig ( )

Definition at line 47 of file NullAgent.php.

47  : bool
48  {
49  return false;
50  }

Field Documentation

◆ $refinery

Refinery ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent::$refinery
protected

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