Метод checkNodesAreTrustworthy

private

Сигнатура метода

private function checkNodesAreTrustworthy(string $agentName, array $untrustedActivityCounts, array $untrustedInnerActivityCounts): void

Возвращает: void

Описание

Writing template.json is the only irreversible step of generation, so a build that invented the visual part of a node is refused before it: the delivered template would otherwise be rewritten with values that depend on which modules this environment happens to have. The two kinds of untrustworthy node get their own answer, and the builder tells them apart for us. A node of an unresolved activity misses the fields of the visual descriptor, and a descriptor in the source states them. An inner activity of a complex wrapper misses its ReturnProperties, which no descriptor covers (TPL-03) - there the source can only carry the whole activity, rules and return properties included, the way a reversed source does.

Параметры

3
Имя Тип По умолчанию Флаги
$agentName string —
—
$untrustedActivityCounts array —
—
$untrustedInnerActivityCounts array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentTemplateGenerator.php
Расположение метода в файле
Строки 179–219

Исходный код

PHP