22        return hash(
"sha256", self::class);
 
   27        return "Fill ini with settings for Services/BackgroundTasks";
 
   44        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   46        if (!
$ini->groupExists(
"background_tasks")) {
 
   47            $ini->addGroup(
"background_tasks");
 
   50        $ini->setVariable(
"background_tasks", 
"concurrency", $this->config->getType());
 
   51        $ini->setVariable(
"background_tasks", 
"number_of_concurrent_tasks", $this->config->getMaxCurrentTasks());
 
   65        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   68            !
$ini->groupExists(
"background_tasks") ||
 
   69            $ini->readVariable(
"background_tasks", 
"concurrency") !== $this->config->getType() ||
 
   70            $ini->readVariable(
"background_tasks", 
"number_of_concurrent_tasks") !== $this->config->getMaxCurrentTasks()
 
An exception for terminatinating execution or to throw for unit testing.
Signals that some goal won't be achievable by actions of the system ever.
isApplicable(Setup\Environment $environment)
@inheritDoc
getPreconditions(Setup\Environment $environment)
__construct(\ilBackgroundTasksSetupConfig $config)
achieve(Setup\Environment $environment)
An environment holds resources to be used in the setup process.
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...