ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Agent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
30 
31 class Agent extends NullAgent
32 {
33  public function getUpdateObjective(?Config $config = null): Objective
34  {
35  return new ObjectiveCollection(
36  'Tracking',
37  false,
39  );
40  }
41 
42  public function getStatusObjective(Storage $storage): Objective
43  {
44  return new ObjectiveCollection(
45  'Tracking',
46  true,
48  );
49  }
50 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An agent that just doesn&#39;t do a thing.
Definition: NullAgent.php:34
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getStatusObjective(Storage $storage)
Definition: Agent.php:42
getUpdateObjective(?Config $config=null)
Definition: Agent.php:33
A configuration for the setup.
Definition: Config.php:26