ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
An agent that is just a collection of some other agents. More...
Public Member Functions | |
__construct (Refinery $refinery, array $agents) | |
getAgent (string $key) | |
withRemovedAgent (string $key) | |
withAdditionalAgent (string $key, Agent $agent) | |
hasConfig () | |
@inheritdocs More... | |
getArrayToConfigTransformation () | |
@inheritdocs More... | |
getInstallObjective (?Config $config=null) | |
@inheritdocs More... | |
getUpdateObjective (?Config $config=null) | |
@inheritdocs More... | |
getBuildObjective () | |
@inheritdocs More... | |
getStatusObjective (Metrics\Storage $storage) | |
@inheritdocs More... | |
getAgents () | |
getNamedObjectives (?Config $config=null) | |
@inheritDoc More... | |
![]() | |
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 (?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... | |
getBuildObjective () | |
Get the goal the agent wants to achieve to build artifacts. More... | |
getStatusObjective (Metrics\Storage $storage) | |
Get the objective to be achieved when status is requested. More... | |
getMigrations () | |
Get a named map of migrations available for this Agent. More... | |
getNamedObjectives (?Config $config=null) | |
Gets all named objectives The keys of the returned array are the commands. More... | |
Protected Member Functions | |
getKey (Migration $migration) | |
checkConfig (Config $config) | |
Protected Attributes | |
Refinery | $refinery |
array | $agents |
An agent that is just a collection of some other agents.
Definition at line 30 of file AgentCollection.php.
ILIAS\Setup\AgentCollection::__construct | ( | Refinery | $refinery, |
array | $agents | ||
) |
Definition at line 39 of file AgentCollection.php.
References ILIAS\Setup\AgentCollection\$agents, ILIAS\Setup\AgentCollection\$refinery, and ILIAS\Repository\refinery().
|
protected |
Definition at line 214 of file AgentCollection.php.
Referenced by ILIAS\Setup\AgentCollection\getInstallObjective(), ILIAS\Setup\AgentCollection\getNamedObjectives(), and ILIAS\Setup\AgentCollection\getUpdateObjective().
ILIAS\Setup\AgentCollection::getAgent | ( | string | $key | ) |
Definition at line 47 of file AgentCollection.php.
ILIAS\Setup\AgentCollection::getAgents | ( | ) |
Definition at line 226 of file AgentCollection.php.
References ILIAS\Setup\AgentCollection\$agents.
ILIAS\Setup\AgentCollection::getArrayToConfigTransformation | ( | ) |
@inheritdocs
Implements ILIAS\Setup\Agent.
Definition at line 85 of file AgentCollection.php.
References $out, and ILIAS\Repository\refinery().
ILIAS\Setup\AgentCollection::getBuildObjective | ( | ) |
@inheritdocs
Implements ILIAS\Setup\Agent.
Definition at line 159 of file AgentCollection.php.
References ILIAS\Setup\Agent\getBuildObjective().
ILIAS\Setup\AgentCollection::getInstallObjective | ( | ?Config | $config = null | ) |
@inheritdocs
Implements ILIAS\Setup\Agent.
Definition at line 108 of file AgentCollection.php.
References ILIAS\Setup\AgentCollection\checkConfig(), and ILIAS\Setup\Agent\hasConfig().
|
protected |
Definition at line 208 of file AgentCollection.php.
ILIAS\Setup\AgentCollection::getNamedObjectives | ( | ?Config | $config = null | ) |
@inheritDoc
Implements ILIAS\Setup\Agent.
Definition at line 232 of file AgentCollection.php.
References ILIAS\Setup\AgentCollection\$agents, $objectives, and ILIAS\Setup\AgentCollection\checkConfig().
ILIAS\Setup\AgentCollection::getStatusObjective | ( | Metrics\Storage | $storage | ) |
@inheritdocs
Implements ILIAS\Setup\Agent.
Definition at line 174 of file AgentCollection.php.
References ILIAS\Setup\Agent\getStatusObjective().
ILIAS\Setup\AgentCollection::getUpdateObjective | ( | ?Config | $config = null | ) |
@inheritdocs
Implements ILIAS\Setup\Agent.
Definition at line 134 of file AgentCollection.php.
References ILIAS\Setup\AgentCollection\checkConfig(), and ILIAS\Setup\Agent\getUpdateObjective().
ILIAS\Setup\AgentCollection::hasConfig | ( | ) |
@inheritdocs
Implements ILIAS\Setup\Agent.
Definition at line 72 of file AgentCollection.php.
References $c.
ILIAS\Setup\AgentCollection::withAdditionalAgent | ( | string | $key, |
Agent | $agent | ||
) |
Definition at line 59 of file AgentCollection.php.
ILIAS\Setup\AgentCollection::withRemovedAgent | ( | string | $key | ) |
Definition at line 52 of file AgentCollection.php.
|
protected |
Definition at line 37 of file AgentCollection.php.
Referenced by ILIAS\Setup\AgentCollection\__construct(), ILIAS\Setup\AgentCollection\getAgents(), and ILIAS\Setup\AgentCollection\getNamedObjectives().
|
protected |
Definition at line 32 of file AgentCollection.php.
Referenced by ILIAS\Setup\AgentCollection\__construct().