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