Class Workspace


  • public class Workspace
    extends Object
    • Constructor Detail

      • Workspace

        public Workspace​(Path parentDir,
                         String subfolder,
                         int maxJunitQuotaKibiBytes,
                         ContentLogger commentsToExtend)
                  throws IOException
        Create a space limited temporary directory
        Parameters:
        maxQuotaKibiBytes -
        commentsToExtend - can be null
        Throws:
        IOException
    • Method Detail

      • toPath

        public Path toPath()
      • cleanup

        public void cleanup​(boolean keepContent,
                            ContentLogger commentsToExtend)
        Remove the temporary directory
        Parameters:
        keepContent - if true, the temporary directory is unquotaed and only log messages are generated
        commentsToExtend - can be null