ILIAS
release_7 Revision v7.30-3-g800a261c036
|
An environment holds resources to be used in the setup process. More...
Public Member Functions | |
getResource (string $id) | |
Consumers of this method should check if the result is what they expect, e.g. More... | |
withResource (string $id, $resource) | |
withConfigFor (string $component, $config) | |
Stores a config for some component in the environment. More... | |
getConfigFor (string $component) | |
hasConfigFor (string $component) | |
Data Fields | |
const | RESOURCE_DATABASE = "resource_database" |
const | RESOURCE_ADMIN_INTERACTION = "resource_admin_interaction" |
const | RESOURCE_ILIAS_INI = "resource_ilias_ini" |
const | RESOURCE_CLIENT_INI = "resource_client_ini" |
const | RESOURCE_SETTINGS_FACTORY = "resource_settings_factory" |
const | RESOURCE_CLIENT_ID = "resource_client_id" |
const | RESOURCE_PLUGIN_ADMIN = "resource_plugin_admin" |
An environment holds resources to be used in the setup process.
Objectives might add resources when they have been achieved.
Definition at line 11 of file Environment.php.
ILIAS\Setup\Environment::getConfigFor | ( | string | $component | ) |
Implemented in ILIAS\Setup\ArrayEnvironment.
ILIAS\Setup\Environment::getResource | ( | string | $id | ) |
Consumers of this method should check if the result is what they expect, e.g.
implements some known interface.
Implemented in ILIAS\Setup\ArrayEnvironment.
Referenced by ilDatabaseUpdateStep\__construct(), ilSettingsFactoryExistsObjective\achieve(), ilLanguageConfigStoredObjective\achieve(), ilDatabaseConfigStoredObjective\achieve(), ilDatabaseUpdatedObjective\achieve(), ilDatabaseInitializedObjective\achieve(), ilGlobalCacheConfigStoredObjective\achieve(), ilChatroomServerConfigStoredObjective\achieve(), ilOverwritesExistingInstallationConfirmed\achieve(), ilUseRootConfirmed\achieve(), ilComponentDefinitionsStoredObjective\achieve(), ILIAS\Setup\Objective\AdminConfirmedObjective\achieve(), ilCtrlStructureStoredObjective\achieve(), ilLanguagesInstalledAndUpdatedObjective\achieve(), ILIAS\Setup\Condition\ExternalConditionObjective\achieve(), ilFileObjectToStorageMigration\getPreconditions(), ILIAS\Setup\Objective\MigrationObjective\getPreconditions(), ilDatabaseUpdateSteps\getPreconditions(), PRGUpdateCRSRefLPSettingMigration\prepare(), and ilStorageHandlerV1Migration\prepare().
ILIAS\Setup\Environment::hasConfigFor | ( | string | $component | ) |
Implemented in ILIAS\Setup\ArrayEnvironment.
ILIAS\Setup\Environment::withConfigFor | ( | string | $component, |
$config | |||
) |
Stores a config for some component in the environment.
Implemented in ILIAS\Setup\ArrayEnvironment.
Referenced by ILIAS\Setup\CLI\addAgentConfigsToEnvironment().
ILIAS\Setup\Environment::withResource | ( | string | $id, |
$resource | |||
) |
Implemented in ILIAS\Setup\ArrayEnvironment.
const ILIAS\Setup\Environment::RESOURCE_ADMIN_INTERACTION = "resource_admin_interaction" |
Definition at line 16 of file Environment.php.
Referenced by ILIAS\Setup\Objective\AdminConfirmedObjective\achieve(), ILIAS\Setup\Condition\ExternalConditionObjective\achieve(), ILIAS\Setup\CLI\BuildArtifactsCommand\execute(), ILIAS\Setup\CLI\UpdateCommand\execute(), ILIAS\Setup\CLI\AchieveCommand\execute(), ILIAS\Setup\Objective\MigrationObjective\getPreconditions(), ILIAS\Setup\CLI\MigrateCommand\listMigrations(), ILIAS\Setup\CLI\InstallCommand\prepareILIASInstallation(), ILIAS\Setup\CLI\InstallCommand\preparePluginInstallation(), ILIAS\Setup\CLI\MigrateCommand\runMigration(), ILIAS\Tests\Setup\Objective\AdminConfirmedObjectiveTest\testAchieveWithConfirmation(), and ILIAS\Tests\Setup\Objective\AdminConfirmedObjectiveTest\testAchieveWithDenial().
const ILIAS\Setup\Environment::RESOURCE_CLIENT_ID = "resource_client_id" |
Definition at line 20 of file Environment.php.
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve(), ILIAS\Setup\Objective\ClientIdReadObjective\isApplicable(), ILIAS\Setup\CLI\InstallCommand\prepareILIASInstallation(), and ILIAS\Tests\Setup\Objective\ClientIdReadObjectiveTest\testAchieve().
const ILIAS\Setup\Environment::RESOURCE_CLIENT_INI = "resource_client_ini" |
Definition at line 18 of file Environment.php.
const ILIAS\Setup\Environment::RESOURCE_DATABASE = "resource_database" |
Definition at line 15 of file Environment.php.
const ILIAS\Setup\Environment::RESOURCE_ILIAS_INI = "resource_ilias_ini" |
Definition at line 17 of file Environment.php.
const ILIAS\Setup\Environment::RESOURCE_PLUGIN_ADMIN = "resource_plugin_admin" |
Definition at line 21 of file Environment.php.
const ILIAS\Setup\Environment::RESOURCE_SETTINGS_FACTORY = "resource_settings_factory" |
Definition at line 19 of file Environment.php.