ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.Agent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Blog\Setup
;
22
23
use
ILIAS\Setup
;
24
use
ILIAS\Setup\Objective
;
25
use
ILIAS\Setup\Metrics
;
26
30
class
Agent
extends
Setup\Agent\NullAgent
31
{
32
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
33
{
34
return
new \ilDatabaseUpdateStepsExecutedObjective(
new
BlogDBUpdateSteps
());
35
}
36
37
public
function
getMigrations
(): array
38
{
39
return
[
new
InitLOMForBlogMigration
()];
40
}
41
42
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
43
{
44
return
new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage,
new
BlogDBUpdateSteps
());
45
}
46
}
ILIAS\Blog\Setup\Agent
Definition:
class.Agent.php:31
ILIAS\Blog\Setup\Agent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
Definition:
class.Agent.php:42
ILIAS\Blog\Setup\Agent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.Agent.php:32
ILIAS\Blog\Setup\Agent\getMigrations
getMigrations()
@inheritDoc
Definition:
class.Agent.php:37
ILIAS\Blog\Setup\BlogDBUpdateSteps
Definition:
class.BlogDBUpdateSteps.php:27
ILIAS\Blog\Setup\InitLOMForBlogMigration
Definition:
class.InitLOMForBlogMigration.php:26
ILIAS\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:35
ILIAS\Setup
Definition:
Setup.php:26
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:27
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:24
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup.
Definition:
Objective.php:31
ILIAS\Blog\Setup
Definition:
class.Agent.php:21
ILIAS\Setup\Metrics
Definition:
ArrayStorage.php:21
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
components
ILIAS
Blog
Setup
class.Agent.php
Generated on Sat Oct 18 2025 23:02:28 for ILIAS by
1.9.4 (using
Doxyfile
)