Interface HarvesterArcRepositoryClient

    • Method Detail

      • close

        void close()
        Call on shutdown to release external resources.
        Specified by:
        close in interface AutoCloseable
      • store

        void store​(File file)
            throws IOFailure,
                   ArgumentNotValid
        Store the given file in the ArcRepository. After storing, the file is deleted.
        Parameters:
        file - A file to be stored. Must exist.
        Throws:
        IOFailure - thrown if store is unsuccesful, or failed to clean up files after the store operation.
        ArgumentNotValid - if file parameter is null or file is not an existing file.