Package ca.uhn.fhir.jpa.packages
Class PackageInstallerSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.packages.PackageInstallerSvcImpl
- All Implemented Interfaces:
IPackageInstallerSvc
- Since:
- 5.1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
install
(PackageInstallationSpec theInstallationSpec) Loads and installs an IG from a file on disk or the Simplifier repo using theIPackageCacheManager
.
-
Field Details
-
DEFAULT_INSTALL_TYPES
-
-
Constructor Details
-
PackageInstallerSvcImpl
public PackageInstallerSvcImpl()Constructor
-
-
Method Details
-
initialize
-
install
public PackageInstallOutcomeJson install(PackageInstallationSpec theInstallationSpec) throws ImplementationGuideInstallationException Loads and installs an IG from a file on disk or the Simplifier repo using theIPackageCacheManager
.Installs the IG by persisting instances of the following types of resources:
- NamingSystem, CodeSystem, ValueSet, StructureDefinition (with snapshots), ConceptMap, SearchParameter, Subscription
Creates the resources if non-existent, updates them otherwise.
- Specified by:
install
in interfaceIPackageInstallerSvc
- Parameters:
theInstallationSpec
- The details about what should be installed- Throws:
ImplementationGuideInstallationException
-