Class AbstractTransferManager

    • Method Detail

      • createTempFile

        protected java.io.File createTempFile​(java.lang.String name)
                                       throws java.io.IOException
        Creates a temporary file, either using the config (if initialized) or using the global temporary directory.
        Throws:
        java.io.IOException
      • test

        public StorageTestResult test​(boolean testCreateTarget)
        Checks whether the settings given to this transfer manager can be used to create or connect to a remote repository.

        Tests if the target exists, if it can be written to and if a repository can be created.

        Specified by:
        test in interface TransferManager
        Parameters:
        testCreateTarget - If true, the test will test if the target can be created in case it does not exist. If false, this test will be skipped.
        Returns:
        Returns the result of testing the repository.
        See Also:
        StorageTestResult