Class NpmPackageManager

java.lang.Object
org.cqframework.fhir.npm.NpmPackageManager
All Implemented Interfaces:
org.hl7.fhir.r5.context.ILoggingService

public class NpmPackageManager extends Object implements org.hl7.fhir.r5.context.ILoggingService
  • Constructor Details

    • NpmPackageManager

      public NpmPackageManager(org.hl7.fhir.r5.model.ImplementationGuide sourceIg)
    • NpmPackageManager

      public NpmPackageManager(org.hl7.fhir.r5.model.ImplementationGuide sourceIg, org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager fspcm)
    • NpmPackageManager

      public NpmPackageManager(org.hl7.fhir.r5.model.ImplementationGuide sourceIg, org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager fspcm, List<org.hl7.fhir.utilities.npm.NpmPackage> npmList)
  • Method Details

    • loadDependencies

      public void loadDependencies() throws IOException
      Throws:
      IOException
    • loadDependencies

      public void loadDependencies(org.hl7.fhir.utilities.npm.NpmPackage parentPackage) throws IOException
      Throws:
      IOException
    • hasPackage

      public boolean hasPackage(String packageId, boolean isUrl)
    • getNpmList

      public List<org.hl7.fhir.utilities.npm.NpmPackage> getNpmList()
    • getSourceIg

      public org.hl7.fhir.r5.model.ImplementationGuide getSourceIg()
    • logMessage

      public void logMessage(String message)
      Specified by:
      logMessage in interface org.hl7.fhir.r5.context.ILoggingService
    • logDebugMessage

      public void logDebugMessage(org.hl7.fhir.r5.context.ILoggingService.LogCategory category, String message)
      Specified by:
      logDebugMessage in interface org.hl7.fhir.r5.context.ILoggingService
    • logWarningMessage

      public void logWarningMessage(String message)
    • logErrorMessage

      public void logErrorMessage(String message)
    • isDebugLogging

      public boolean isDebugLogging()
      Specified by:
      isDebugLogging in interface org.hl7.fhir.r5.context.ILoggingService