Метод runRemoval
Сигнатура метода
private function runRemoval(string $operation, ManagedAgentIdentity $identity, ManagedAgentInstance $instance, bool $journaled): SystemAiAgentLifecycleResult
Возвращает:
SystemAiAgentLifecycleResult
Описание
One bounded pass of the complete removal: the copy stops producing work, every resource type is reconciled and cleaned up in the order of {@see ManagedAgentResourceType::cleanupOrder()}, the copy is deleted and the service link is released last.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$operation
|
string
|
—
|
—
|
$identity
|
ManagedAgentIdentity
|
—
|
—
|
$instance
|
ManagedAgentInstance
|
—
|
—
|
$journaled
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки
1030–1129