Skip to main content

Inventory.Scanner

Class Inventory.Scanner Extends %RegisteredObject

Scanner is a utility class for intializing and manipulating inventory scans, represented by Inventory.Scan.

Methods

DeleteAllScans

ClassMethod DeleteAllScans() As %Status

RunScan

ClassMethod RunScan(description As %String) As Scan

Run an inventory scan of the current installation, returning the scan result.

ScanDirectory

ClassMethod ScanDirectory(dir As %String) As Component

Create a tree of Component objects by starting with a DirectoryComponent for directory dir.