Class ApiPreconditionCheckerHook

    • Method Detail

      • checkUpload

        public boolean checkUpload​(APIDataSet apiData)
        Description copied from interface: UploadHook
        Check and/or change the data to be uploaded. Default implementation is to approve the upload.
        Specified by:
        checkUpload in interface UploadHook
        Parameters:
        apiData - the data to upload, modify this to change the data.
        Returns:
        true if upload is possible, false to block the upload.