Class ScanResult
java.lang.Object
com.aispect.core.engine.bootstrap.scanner.ScanResult
- All Implemented Interfaces:
AiScanResult
AiComponentScanner Scan result carrier.
accomplish AiScanResult contract.
Carrying two types of information at the same time:
- successful result:
invocationCache— unified Agent cache registry, Store all scanned Unit Agent Handler and Graph Agent Orchestrator(core content). - error message:All configuration errors collected during the scan (reflection failures, phase conflicts, etc.).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the complete error list information collected during the scan.get unified Agent Cache the registry.booleanDetermine whether any configuration or parsing errors were found during the scan.
-
Constructor Details
-
ScanResult
public ScanResult()
-
-
Method Details
-
getInvocationCache
Description copied from interface:AiScanResultget unified Agent Cache the registry.This is aispect-core One of the core assets submitted to the outside world after scanning. Hosts all scanned methods and corresponding proxy handlers (e.g. Unit / Graph)mapping relationship.
- Specified by:
getInvocationCachein interfaceAiScanResult- Returns:
- Global scheduling cache of agent and node resources
-
hasErrors
public boolean hasErrors()Description copied from interface:AiScanResultDetermine whether any configuration or parsing errors were found during the scan.- Specified by:
hasErrorsin interfaceAiScanResult- Returns:
- Returns if there is at least one error
true
-
getErrors
Description copied from interface:AiScanResultGet the complete error list information collected during the scan.- Specified by:
getErrorsin interfaceAiScanResult- Returns:
- Error message list
-