ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Agent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
30
31class 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}
An agent that just doesn't do a thing.
Definition: NullAgent.php:35
A objective collection is a objective that is achieved once all subobjectives are achieved.
getStatusObjective(Storage $storage)
Definition: Agent.php:42
getUpdateObjective(?Config $config=null)
@inheritdocs
Definition: Agent.php:33
This class attempt to achieve a set of database update steps.
A agent is some component that performs part of the setup process.
Definition: Agent.php:30
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31