Package de.gematik.fhir.snapshots
Class SnapshotGenerator
java.lang.Object
de.gematik.fhir.snapshots.SnapshotGenerator
The SnapshotGenerator class is responsible for generating FHIR snapshots
from FHIR package files and their dependencies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateSnapshots(String packageFolderPath, String outputFolder, String tempDir) Generates snapshots for all FHIR packages and their dependencies.voidgenerateSnapshots(String packageFolderPath, String outputFolder, Collection<String> packagesForSnapshotGeneration, String tempDir) Generates snapshots for specified FHIR packages and their dependencies.
-
Constructor Details
-
SnapshotGenerator
public SnapshotGenerator()
-
-
Method Details
-
generateSnapshots
public void generateSnapshots(String packageFolderPath, String outputFolder, String tempDir) throws IOException Generates snapshots for all FHIR packages and their dependencies.- Parameters:
packageFolderPath- The path to the folder containing source FHIR packages.outputFolder- The output folder where FHIR packages with the generated snapshots will be stored.tempDir- The temporary directory for decompressing the FHIR packages.- Throws:
IOException- If an I/O error occurs during the snapshot generation process.
-
generateSnapshots
public void generateSnapshots(String packageFolderPath, String outputFolder, Collection<String> packagesForSnapshotGeneration, String tempDir) throws IOException Generates snapshots for specified FHIR packages and their dependencies.- Parameters:
packageFolderPath- The path to the folder containing source FHIR packages.outputFolder- The output folder where FHIR packages with the generated snapshots will be stored.packagesForSnapshotGeneration- The list of package names (optional). If empty, all packages are processed.tempDir- The temporary directory for decompressing the FHIR packages.- Throws:
IOException- If an I/O error occurs during the snapshot generation process.
-