Class Workspace

java.lang.Object
de.hsh.graja.transform.submission.Workspace

public class Workspace extends Object
  • Constructor Details

    • 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 Details

    • 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