Package ca.uhn.fhir.system
Class HapiSystemProperties
java.lang.Object
ca.uhn.fhir.system.HapiSystemProperties
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
static void
This property is used by unit tests - do not rely on it in production code as it may change at any time.static void
This property setsinvalid reference
JpaStorageSettings#setStatusBasedReindexingDisabled(Boolean)
static void
This property is used to suppress the logging of the HAPI FHIR version on startup.static void
When this property is primarily used to control application shutdown behaviorstatic void
This property prevents stack traces from getting truncated and includes the full stack trace in failed search responses.static void
This property is used to ensure unit test behaviour is deterministic.static long
Get the validation resource cache expireAfterWrite timeout in milliseconds.static boolean
static boolean
This property is used by unit tests - do not rely on it in production code as it may change at any time.static boolean
static boolean
static boolean
static boolean
static boolean
static void
setStackFilterPattern
(String thePattern) This property gets used in the logback.xml file.static void
setTestValidationResourceCachesMs
(long theMillis) Set the validation resource cache expireAfterWrite timeout in milliseconds
-
Method Details
-
enableHapiClientKeepResponses
This property is used by unit tests - do not rely on it in production code as it may change at any time. If you want to capture responses in a reliable way in your own code, just use client interceptors -
disableHapiClientKeepResponses
-
isHapiClientKeepResponsesEnabled
This property is used by unit tests - do not rely on it in production code as it may change at any time. If you want to capture responses in a reliable way in your own code, just use client interceptors -
setStackFilterPattern
This property gets used in the logback.xml file. It causes logged stack traces to skip a number of packages that are just noise. -
setTestValidationResourceCachesMs
Set the validation resource cache expireAfterWrite timeout in milliseconds- Parameters:
theMillis
-
-
getTestValidationResourceCachesMs
Get the validation resource cache expireAfterWrite timeout in milliseconds. If it has not been set, the default value is 10 seconds. -
enableTestMode
When this property is primarily used to control application shutdown behavior -
isTestModeEnabled
-
enableUnitTestMode
This property is used to ensure unit test behaviour is deterministic. -
disableUnitTestMode
-
isUnitTestModeEnabled
-
enableUnitTestCaptureStack
This property prevents stack traces from getting truncated and includes the full stack trace in failed search responses. -
disableUnitTestCaptureStack
-
isUnitTestCaptureStackEnabled
-
isDisableStatusBasedReindex
-
disableStatusBasedReindex
-
enableStatusBasedReindex
This property setsinvalid reference
JpaStorageSettings#setStatusBasedReindexingDisabled(Boolean)
-
enableSuppressHapiFhirVersionLog
This property is used to suppress the logging of the HAPI FHIR version on startup. -
isSuppressHapiFhirVersionLogEnabled
-
isPreventInvalidatingConditionalMatchCriteria
-