22        return hash(
"sha256", self::class);
 
   27        return "Fill ini with settings for Services/VirusScanner";
 
   44        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   46        $ini->setVariable(
"tools", 
"vscantype", $this->config->getVirusScanner());
 
   47        $ini->setVariable(
"tools", 
"scancommand", $this->config->getPathToScan());
 
   48        $ini->setVariable(
"tools", 
"cleancommand", $this->config->getPathToClean());
 
   49        $ini->setVariable(
"tools", 
"icap_host", $this->config->getIcapHost());
 
   50        $ini->setVariable(
"tools", 
"icap_port", $this->config->getIcapPort());
 
   51        $ini->setVariable(
"tools", 
"icap_service_name", $this->config->getIcapServiceName());
 
   52        $ini->setVariable(
"tools", 
"icap_client_path", $this->config->getIcapClientPath());
 
   66        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   69            $ini->readVariable(
"tools", 
"vscantype") !== $this->config->getVirusScanner() ||
 
   70            $ini->readVariable(
"tools", 
"scancommand") !== $this->config->getPathToScan() ||
 
   71            $ini->readVariable(
"tools", 
"cleancommand") !== $this->config->getPathToClean() ||
 
   72            $ini->readVariable(
"tools", 
"icap_host") !== $this->config->getIcapHost() ||
 
   73            $ini->readVariable(
"tools", 
"icap_port") !== $this->config->getIcapPort() ||
 
   74            $ini->readVariable(
"tools", 
"icap_service_name") !== $this->config->getIcapServiceName() ||
 
   75            $ini->readVariable(
"tools", 
"icap_client_path") !== $this->config->getIcapClientPath()
 
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.
achieve(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
@inheritDoc
getPreconditions(Setup\Environment $environment)
__construct(\ilVirusScannerSetupConfig $config)
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...