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 050 protected FhirSettingsPOJO() { 051 apiKeys = null; 052 npmPath = null; 053 rubyPath = null; 054 gemPath = null; 055 fhirTestCasesPath = null; 056 diffToolPath = null; 057 tempPath = null; 058 testIgsPath = null; 059 txFhirProduction = TX_SERVER_PROD; 060 txFhirDevelopment = TX_SERVER_DEV; 061 txFhirLocal = TX_SERVER_LOCAL; 062 servers = new ArrayList<>(); 063 } 064}