|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
An environment holds resources to be used in the setup process. More...
Inheritance diagram for ILIAS\Setup\Environment:
Collaboration diagram for ILIAS\Setup\Environment: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" |
| const | RESOURCE_COMPONENT_REPOSITORY = "resource_component_repository" |
| const | RESOURCE_COMPONENT_FACTORY = "resource_component_factory" |
An environment holds resources to be used in the setup process.
Objectives might add resources when they have been achieved.
Definition at line 27 of file Environment.php.
| ILIAS\Setup\Environment::getConfigFor | ( | string | $component | ) |
Implemented in ILIAS\Setup\ArrayEnvironment.
Referenced by ILIAS\Setup\CLI\ImportFileUnzippedFileObjective\achieve(), and ilExportZipBuiltObjective\achieve().
Here is the caller graph for this function:| 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 ilResourceStorageMigrationHelper\__construct(), ilDataCollectionObjective\achieve(), ilEventHandlingBuildEventInfoObjective\achieve(), ilAccessRBACOperationDeletedObjective\achieve(), ILIAS\Wiki\Setup\AccessRBACOperationClonedObjective\achieve(), ilAccessRBACOperationOrderUpdatedObjective\achieve(), ilWebServicesConfigStoredObjective\achieve(), ilLoggingConfigStoredObjective\achieve(), ilDBStepExecutionDBExistsObjective\achieve(), ilInstIdDefaultStoredObjective\achieve(), ilInstallationInformationStoredObjective\achieve(), ILIAS\Setup\AccessRBACOperationClonedObjective\achieve(), ilAccessRBACTemplateAddedObjective\achieve(), ilNICKeyStoredObjective\achieve(), ilStyleClassAddedObjective\achieve(), ilStyleClassCopiedObjective\achieve(), ilMakeInstallationAccessibleObjective\achieve(), ilAccessRolePermissionSetObjective\achieve(), ilSettingsFactoryExistsObjective\achieve(), ilDatabaseConfigStoredObjective\achieve(), ilOrgUnitRemoveDeletedUsersObjective\achieve(), ilGlobalCacheAllFlushedObjective\achieve(), ilUITestRailExampleTestCasesObjective\achieve(), ilChatroomServerConfigStoredObjective\achieve(), ilDatabaseUpdatedObjective\achieve(), ilNICKeyRegisteredObjective\achieve(), ilNoMajorVersionSkippedConditionObjective\achieve(), ilNoVersionDowngradeConditionObjective\achieve(), ilVersionWrittenToSettingsObjective\achieve(), ilObjectNewTypeAddedObjective\achieve(), ilDatabaseInitializedObjective\achieve(), ilOrgUnitOperationContextRegisteredObjective\achieve(), ilAccessRBACOperationClonedObjective\achieve(), ilComponentRepositoryExistsObjective\achieve(), ilDatabaseResetStepsObjective\achieve(), ilTreeImplementationSwitch\achieve(), ilOrgUnitOperationRegisteredObjective\achieve(), ilComponentFactoryExistsObjective\achieve(), ilUseRootConfirmed\achieve(), ilOverwritesExistingInstallationConfirmed\achieve(), ilDefaultLanguageSetObjective\achieve(), ilAccessCustomRBACOperationAddedObjective\achieve(), ilAccessRbacStandardOperationsAddedObjective\achieve(), ilTreeAdminNodeAddedObjective\achieve(), ilPluginLanguageUpdatedObjective\achieve(), ILIAS\Setup\Objective\AdminConfirmedObjective\achieve(), ilComponentActivatePluginsObjective\achieve(), ilLanguagesUpdatedObjective\achieve(), ilComponentInstallPluginObjective\achieve(), ilComponentUpdatePluginObjective\achieve(), ilDatabaseUpdateStepsExecutedObjective\achieve(), ilLanguagesInstalledAndUpdatedObjective\achieve(), ILIAS\Setup\Condition\ExternalConditionObjective\achieve(), ilAccessInitialPermissionGuidelineAppliedObjective\achieve(), ilLoggingMetricsCollectedObjective\collectFrom(), ilTreeMetricsCollectedObjective\collectFrom(), ilGlobalCacheMetricsCollectedObjective\collectFrom(), ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective\collectFrom(), ilFileObjectSettingsUpdatedObjective\getPreconditions(), ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration\getPreconditions(), ILIAS\Setup\Objective\MigrationObjective\getPreconditions(), ILIAS\File\Icon\ilObjFileDefaultIconsObjective\getPreconditions(), ilAccessRBACOperationOrderUpdatedObjective\isApplicable(), ILIAS\Wiki\Setup\AccessRBACOperationClonedObjective\isApplicable(), ILIAS\Setup\AccessRBACOperationClonedObjective\isApplicable(), ilLoggingConfigStoredObjective\isApplicable(), ilDatabaseResetStepsObjective\isApplicable(), ilObjectNewTypeAddedObjective\isApplicable(), ilOrgUnitOperationContextRegisteredObjective\isApplicable(), ilOrgUnitOperationRegisteredObjective\isApplicable(), ilAccessRbacStandardOperationsAddedObjective\isApplicable(), ilStyleClassAddedObjective\isApplicable(), ilStyleClassCopiedObjective\isApplicable(), ilDatabaseUpdateStepsExecutedObjective\isApplicable(), ilAccessCustomRBACOperationAddedObjective\isApplicable(), ilTreeImplementationSwitch\isApplicable(), ilTreeAdminNodeAddedObjective\isApplicable(), ilBadgesFilesMigration\prepare(), ilMDCopyrightMigration\prepare(), ilBadgeTemplatesFilesMigration\prepare(), ilPollImagesMigration\prepare(), ILIAS\Setup\SelectOptionsMigration\prepare(), ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\prepare(), ilExportFilesToIRSSMigration\prepare(), LSOMigratePageIdsExtro\prepare(), LSOMigratePageIdsIntro\prepare(), ilGlossaryDefinitionMigration\prepare(), ilGlossaryCollectionMigration\prepare(), ilMDLOMConformanceMigration\prepare(), ILIAS\MetaData\Setup\DeleteLOMForObjectTypeMigration\prepare(), ILIAS\MetaData\Setup\InitLOMForObjectTypeMigration\prepare(), ILIAS\Setup\RecordFilesMigration\prepare(), ILIAS\Setup\Migration\CertificateIdMigration\prepare(), and ILIAS\Setup\Migration\CertificateIRSSMigration\prepare().
Here is the caller graph for this function:| 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 ilExportMetadataGatheredObjective\achieve(), and ILIAS\Setup\CLI\addAgentConfigsToEnvironment().
Here is the caller graph for this function:| ILIAS\Setup\Environment::withResource | ( | string | $id, |
| $resource | |||
| ) |
Implemented in ILIAS\Setup\ArrayEnvironment.
Referenced by ilDBStepReaderExistsObjective\achieve().
Here is the caller graph for this function:| const ILIAS\Setup\Environment::RESOURCE_ADMIN_INTERACTION = "resource_admin_interaction" |
Definition at line 32 of file Environment.php.
Referenced by ILIAS\Setup\Objective\AdminConfirmedObjective\achieve(), ILIAS\Setup\Condition\ExternalConditionObjective\achieve(), ILIAS\Setup\CLI\BuildCommand\execute(), ILIAS\Setup\CLI\UpdateCommand\execute(), ILIAS\Setup\CLI\AchieveCommand\executeAchieveObjective(), ILIAS\Setup\Objective\MigrationObjective\getPreconditions(), ILIAS\Setup\CLI\MigrateCommand\listMigrations(), ILIAS\MetaData\Setup\DeleteLOMForObjectTypeMigration\prepare(), ILIAS\MetaData\Setup\InitLOMForObjectTypeMigration\prepare(), ILIAS\Setup\Migration\CertificateIRSSMigration\prepare(), 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 36 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 34 of file Environment.php.
Referenced by ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration\getPreconditions().
| const ILIAS\Setup\Environment::RESOURCE_COMPONENT_FACTORY = "resource_component_factory" |
Definition at line 39 of file Environment.php.
| const ILIAS\Setup\Environment::RESOURCE_COMPONENT_REPOSITORY = "resource_component_repository" |
Definition at line 38 of file Environment.php.
| const ILIAS\Setup\Environment::RESOURCE_DATABASE = "resource_database" |
Definition at line 31 of file Environment.php.
Referenced by ILIAS\Setup\AccessRBACOperationClonedObjective\achieve(), ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective\collectFrom(), ILIAS\Setup\ilMysqlMyIsamToInnoDbMigration\getPreconditions(), ILIAS\Setup\AccessRBACOperationClonedObjective\isApplicable(), ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\prepare(), ILIAS\Setup\SelectOptionsMigration\prepare(), ILIAS\MetaData\Setup\DeleteLOMForObjectTypeMigration\prepare(), ILIAS\MetaData\Setup\InitLOMForObjectTypeMigration\prepare(), ILIAS\Setup\RecordFilesMigration\prepare(), ILIAS\Setup\Migration\CertificateIdMigration\prepare(), and ILIAS\Setup\Migration\CertificateIRSSMigration\prepare().
| const ILIAS\Setup\Environment::RESOURCE_ILIAS_INI = "resource_ilias_ini" |
Definition at line 33 of file Environment.php.
Referenced by ILIAS\FileDelivery\Setup\BaseDirObjective\buildIn().
| const ILIAS\Setup\Environment::RESOURCE_PLUGIN_ADMIN = "resource_plugin_admin" |
Definition at line 37 of file Environment.php.
| const ILIAS\Setup\Environment::RESOURCE_SETTINGS_FACTORY = "resource_settings_factory" |
Definition at line 35 of file Environment.php.
Referenced by ILIAS\MetaData\Setup\InitLOMForObjectTypeMigration\prepare().