Enum PerformanceOptionsEnum

java.lang.Object
java.lang.Enum<PerformanceOptionsEnum>
ca.uhn.fhir.context.PerformanceOptionsEnum
All Implemented Interfaces:
Serializable, Comparable<PerformanceOptionsEnum>

This enum contains options to be used for FhirContext.setPerformanceOptions(PerformanceOptionsEnum...)
  • 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

      public static PerformanceOptionsEnum[] 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

      public static PerformanceOptionsEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null