Class SnapshotGenerator

java.lang.Object
de.gematik.fhir.snapshots.SnapshotGenerator

public class SnapshotGenerator extends Object
The SnapshotGenerator class is responsible for generating FHIR snapshots from FHIR package files and their dependencies.
  • Constructor Details

    • SnapshotGenerator

      public SnapshotGenerator()
  • Method Details

    • generateSnapshots

      public void generateSnapshots(String packageFolderPath, String outputFolder, String workingDirectory) throws IOException
      Generates snapshots for 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.
      workingDirectory - The temporary directory for decompressing the FHIR packages.
      Throws:
      IOException - If an I/O error occurs during the snapshot generation process.