11 use Setup\Agent\HasNoNamedObjective;
37 return $this->refinery->custom()->transformation(
function (
$data) {
39 $password = $this->refinery->to()->data(
"password");
40 return new \ilDatabaseSetupConfig(
41 $data[
"type"] ??
"innodb",
42 $data[
"host"] ??
"localhost",
43 $data[
"database"] ??
"ilias",
44 $data[
"user"] ??
null,
46 $data[
"create_database"] ??
true,
47 $data[
"collation"] ??
null,
48 $data[
"port"] ?? 3306,
49 $data[
"path_to_db_dump"] ??
null
60 "Complete objectives from Services\Database",
75 $p[] = new \ilDatabaseConfigStoredObjective(
$config);
77 $p[] = new \ilDatabaseUpdatedObjective();
79 "Complete objectives from Services\Database",
An exception for terminatinating execution or to throw for unit testing.
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
getInstallObjective(Setup\Config $config=null)
@inheritdocs
getStatusObjective(Setup\Metrics\Storage $storage)
getArrayToConfigTransformation()
@inheritdocs
getBuildArtifactObjective()
@inheritdocs
getUpdateObjective(Setup\Config $config=null)
@inheritdocs
__construct(Refinery $refinery)
getMigrations()
@inheritDoc
A agent is some component that performs part of the setup process.
A configuration for the setup.
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...