Package ca.uhn.fhir.context
Enum PerformanceOptionsEnum
- All Implemented Interfaces:
Serializable
,Comparable<PerformanceOptionsEnum>
This enum contains options to be used for
FhirContext.setPerformanceOptions(PerformanceOptionsEnum...)
-
Enum Constant Summary
Enum ConstantDescriptionWhen this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed. -
Method Summary
Modifier and TypeMethodDescriptionstatic PerformanceOptionsEnum
Returns the enum constant of this type with the specified name.static PerformanceOptionsEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFERRED_MODEL_SCANNING
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed.The effect of this option is that reflection operations to scan children will be deferred, and some may never happen if specific model types aren't actually used. This option is useful on environments where reflection is particularly slow, e.g. Android or low powered devices.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-