Class TempDirectory


  • @Deprecated
    public class TempDirectory
    extends Object
    Deprecated.
    Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.utils.TempDirectory} alternative
    Returns files in a temporary location for integration tests.
    • Constructor Detail

      • TempDirectory

        public TempDirectory()
        Deprecated.
    • Method Detail

      • getDirectory

        public static File getDirectory()
        Deprecated.
        Returns the directory at the root of the temporary file location.
      • getFile

        public static File getFile​(String path)
        Deprecated.
        Returns a File where you can store a temporary file with a given path. Creates any parent directories required to save data to this file.
        Parameters:
        path - the path of the file to return, relative to the temporary directory