Enum ValidationSpec.RefreshPolicy

    • Enum Constant Detail

      • UP_TO_DATE

        public static final ValidationSpec.RefreshPolicy UP_TO_DATE
        Specifies that the validation report of the dataset, table or record to validate must be updated.
      • AS_IS

        public static final ValidationSpec.RefreshPolicy AS_IS
        Specifies that the validation report of the dataset, table or record to validate will only contain validation messages that have been persisted in the database. That means, the validation report will be empty if the dataset, table or record has not yet been validated.
      • NO_WAIT

        public static final ValidationSpec.RefreshPolicy NO_WAIT
        Specifies that the validation of the dataset, table or record must not wait for the end of a concurrent validation. That is, an empty validation report will be returned when validating a dataset, table or record if a validation is being performed by a concurrent process.
        See Also:
        ValidationReport.hasSkippedValidation()
    • Method Detail

      • values

        public static ValidationSpec.RefreshPolicy[] 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 (ValidationSpec.RefreshPolicy c : ValidationSpec.RefreshPolicy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ValidationSpec.RefreshPolicy 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