001package org.hl7.fhir.utilities.settings;
002
003import java.util.Map;
004
005import lombok.AllArgsConstructor;
006import lombok.Builder;
007import lombok.Data;
008import lombok.extern.jackson.Jacksonized;
009
010@Data
011@Builder
012@Jacksonized
013@AllArgsConstructor
014public class FhirSettingsPOJO {
015
016
017  protected static final String TX_SERVER_PROD = "http://tx.fhir.org";
018  protected static final String TX_SERVER_DEV = "http://tx-dev.fhir.org";
019  protected static final String TX_SERVER_LOCAL = "http://local.fhir.org";  
020  
021  private String fhirDirectory;
022  private Map<String, String> apiKeys;
023
024  private String npmPath;
025
026  private String rubyPath;
027
028  private String fhirTestCasesPath;
029
030  private String diffToolPath;
031
032  private String tempPath;
033
034  private String testIgsPath;
035
036  private Boolean prohibitNetworkAccess;
037
038  private String txFhirProduction;
039  private String txFhirDevelopment;
040  private String txFhirLocal;
041
042  private PackageManagementPOJO packageManagement;
043  private TerminologyServersPOJO terminologyServers;
044
045  protected FhirSettingsPOJO() {
046    apiKeys = null;
047    npmPath = null;
048    rubyPath = null;
049    fhirTestCasesPath = null;
050    diffToolPath = null;
051    tempPath = null;
052    testIgsPath = null;
053    txFhirProduction = TX_SERVER_PROD;
054    txFhirDevelopment = TX_SERVER_DEV;
055    txFhirLocal = TX_SERVER_LOCAL;
056
057    packageManagement = null;
058    terminologyServers = null;
059  }
060}