Interface ValidationApi


  • public interface ValidationApi
    Contains functionality related to the validation of assets.
    • Method Detail

      • findValidationResults

        @SecurityAuditMethod(resultFormatter=PagedResponseFormatter.class)
        PagedResponse<ValidationResult> findValidationResults​(FindValidationResultRequest findValidationResultRequest)
        Searches the validation results according to the given criteria in the FindValidationResultRequest object.
        Parameters:
        findValidationResultRequest - describes the criteria for the find
        Returns:
        A PagedResponse of ValidationResult
      • validateInJob

        Job validateInJob​(ValidateInJobRequest validateInJobRequest)
        Validates the assets asynchronously as described by the validationInJobRequest.
        Parameters:
        validateInJobRequest - describes the validation
        Returns:
        the Job representing the async validation process. The status can be checked using com.collibra.job.api.internal.InternalJobRunnerService
      • validate

        @SecurityAuditMethod(resultFormatter=com.collibra.audit.formatter.CollectionCountFormatter.class)
        List<ValidationResult> validate​(UUID assetId)
        Validates the asset identified by the given assetId.
        Parameters:
        assetId - the unique identifier of the asset to be validated
        Returns:
        the list of validation results