|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilStorageContainersExistingObjective. More...
Inheritance diagram for ilStorageContainersExistingObjective:
Collaboration diagram for ilStorageContainersExistingObjective:Public Member Functions | |
| __construct (?array $storage_handler_ids=null) | |
| getPreconditions (Environment $environment) | |
| achieve (Environment $environment) | |
| Objectives can be achieved. More... | |
| isApplicable (Environment $environment) | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\Setup\Objective\DirectoryCreatedObjective | |
| __construct (string $path, int $permissions=self::DEFAULT_DIRECTORY_PERMISSIONS) | |
| getHash () | |
| Uses hashed Path. More... | |
| getLabel () | |
| Defaults to "Build $this->getArtifactPath()". More... | |
| isNotable () | |
| Defaults to 'true'. More... | |
| getPreconditions (Setup\Environment $environment) | |
| @inheritdocs More... | |
| achieve (Setup\Environment $environment) | |
| @inheritdocs More... | |
| isApplicable (Setup\Environment $environment) | |
| @inheritDoc More... | |
| getHash () | |
| Get a hash for this objective. More... | |
| getLabel () | |
| Get a label that describes this objective. More... | |
| isNotable () | |
| Get to know if this is an interesting objective for a human. More... | |
| getPreconditions (Environment $environment) | |
| Objectives might depend on other objectives. More... | |
| achieve (Environment $environment) | |
| Objectives can be achieved. More... | |
| isApplicable (Environment $environment) | |
| Get to know whether the objective is applicable. More... | |
Protected Member Functions | |
| buildStorageBasePath (Environment $environment) | |
Protected Attributes | |
| string | $base_dir = StorageHandlerFactory::BASE_DIRECTORY |
| array | $storage_handler_ids |
Protected Attributes inherited from ILIAS\Setup\Objective\DirectoryCreatedObjective | |
| string | $path |
| int | $permissions |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Objective\DirectoryCreatedObjective | |
| const | DEFAULT_DIRECTORY_PERMISSIONS = 0755 |
Class ilStorageContainersExistingObjective.
Definition at line 29 of file class.ilStorageContainersExistingObjective.php.
| ilStorageContainersExistingObjective::__construct | ( | ?array | $storage_handler_ids = null | ) |
Definition at line 40 of file class.ilStorageContainersExistingObjective.php.
References $storage_handler_ids, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilStorageContainersExistingObjective::achieve | ( | Environment | $environment | ) |
Objectives can be achieved.
They might add resources to the environment when they have been achieved.
This method needs to be idempotent for a given environment. That means: if this is executed a second time, nothing new should happen. Or the other way round: if the environment already looks like desired, the objective should not take any further actions when this is called.
LogicException if there are unfullfilled preconditions.
RuntimeException if there are missing resources.
Implements ILIAS\Setup\Objective.
Definition at line 77 of file class.ilStorageContainersExistingObjective.php.
References buildStorageBasePath().
Here is the call graph for this function:
|
protected |
Definition at line 46 of file class.ilStorageContainersExistingObjective.php.
References $base_dir, $client_id, $ini, and ILIAS\Setup\Environment\getResource().
Referenced by achieve(), and isApplicable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStorageContainersExistingObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 60 of file class.ilStorageContainersExistingObjective.php.
References ILIAS\Setup\Environment\getConfigFor(), and ILIAS\Setup\Environment\hasConfigFor().
Here is the call graph for this function:| ilStorageContainersExistingObjective::isApplicable | ( | Environment | $environment | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 94 of file class.ilStorageContainersExistingObjective.php.
References buildStorageBasePath().
Here is the call graph for this function:
|
protected |
Definition at line 31 of file class.ilStorageContainersExistingObjective.php.
Referenced by buildStorageBasePath().
|
protected |
Definition at line 36 of file class.ilStorageContainersExistingObjective.php.
Referenced by __construct().