ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (Factory $refinery) | |
hasConfig () | |
Does this agent require a configuration? More... | |
getArrayToConfigTransformation () | |
Agents must be able to tell how to create a configuration from a nested array. More... | |
getInstallObjective (?Setup\Config $config=null) | |
getUpdateObjective (?Setup\Config $config=null) | |
getBuildObjective () | |
Get the goal the agent wants to achieve to build artifacts. More... | |
getStatusObjective (?Setup\Metrics\Storage $storage) | |
getMigrations () | |
Get a named map of migrations available for this Agent. More... | |
![]() | |
getInstallObjective (?Config $config=null) | |
Get the goals the agent wants to achieve on setup. More... | |
getUpdateObjective (?Config $config=null) | |
Get the goal the agent wants to achieve on update. More... | |
getStatusObjective (Metrics\Storage $storage) | |
Get the objective to be achieved when status is requested. More... | |
getNamedObjectives (?Config $config=null) | |
Gets all named objectives The keys of the returned array are the commands. More... | |
Protected Attributes | |
Factory | $refinery |
Definition at line 25 of file class.ilVirusScannerSetupAgent.php.
ilVirusScannerSetupAgent::__construct | ( | Factory | $refinery | ) |
Definition at line 31 of file class.ilVirusScannerSetupAgent.php.
References $refinery, and ILIAS\Repository\refinery().
ilVirusScannerSetupAgent::getArrayToConfigTransformation | ( | ) |
Agents must be able to tell how to create a configuration from a nested array.
LogicException | if Agent has no Config |
Implements ILIAS\Setup\Agent.
Definition at line 42 of file class.ilVirusScannerSetupAgent.php.
References $data, null, ILIAS\Repository\refinery(), and ilVirusScannerSetupConfig\VIRUS_SCANNER_NONE.
ilVirusScannerSetupAgent::getBuildObjective | ( | ) |
Get the goal the agent wants to achieve to build artifacts.
InvalidArgumentException | if Config does not match the Agent. |
Implements ILIAS\Setup\Agent.
Definition at line 69 of file class.ilVirusScannerSetupAgent.php.
ilVirusScannerSetupAgent::getInstallObjective | ( | ?Setup\Config | $config = null | ) |
Definition at line 55 of file class.ilVirusScannerSetupAgent.php.
ilVirusScannerSetupAgent::getMigrations | ( | ) |
Get a named map of migrations available for this Agent.
Should also return Migrations that have run completely.
Implements ILIAS\Setup\Agent.
Definition at line 79 of file class.ilVirusScannerSetupAgent.php.
ilVirusScannerSetupAgent::getStatusObjective | ( | ?Setup\Metrics\Storage | $storage | ) |
Definition at line 74 of file class.ilVirusScannerSetupAgent.php.
ilVirusScannerSetupAgent::getUpdateObjective | ( | ?Setup\Config | $config = null | ) |
Definition at line 60 of file class.ilVirusScannerSetupAgent.php.
References null.
ilVirusScannerSetupAgent::hasConfig | ( | ) |
Does this agent require a configuration?
Implements ILIAS\Setup\Agent.
Definition at line 37 of file class.ilVirusScannerSetupAgent.php.
|
protected |
Definition at line 29 of file class.ilVirusScannerSetupAgent.php.
Referenced by __construct().