Enum PerformanceOptionsEnum

    • Enum Constant Detail


        public static final PerformanceOptionsEnum 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 Detail

      • values

        public static PerformanceOptionsEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PerformanceOptionsEnum c : PerformanceOptionsEnum.values())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null