Interface LPVSScanService

All Known Implementing Classes:
LPVSScanossDetectService

public interface LPVSScanService
Interface representing a service for scanning files and checking licenses.
  • Method Summary

    Modifier and Type
    Method
    Description
    checkLicenses(LPVSQueue webhookConfig)
    Checks licenses for files using the provided webhook configuration.
    void
    runScan(LPVSQueue webhookConfig, String path)
    Runs a scan on the specified path using the provided webhook configuration.
  • Method Details

    • runScan

      void runScan(LPVSQueue webhookConfig, String path) throws Exception
      Runs a scan on the specified path using the provided webhook configuration.
      Parameters:
      webhookConfig - The webhook configuration to use for the scan.
      path - The path to the file or directory to scan.
      Throws:
      Exception - if an error occurs during the scan process.
    • checkLicenses

      List<LPVSFile> checkLicenses(LPVSQueue webhookConfig)
      Checks licenses for files using the provided webhook configuration.
      Parameters:
      webhookConfig - The webhook configuration to use for checking licenses.
      Returns:
      A list of LPVSFile objects representing files with detected licenses.