Class Workspace
- java.lang.Object
-
- de.hsh.graja.transform.submission.Workspace
-
public class Workspace extends Object
-
-
Constructor Summary
Constructors Constructor Description Workspace(Path parentDir, String subfolder, int maxJunitQuotaKibiBytes, ContentLogger commentsToExtend)
Create a space limited temporary directory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(boolean keepContent, ContentLogger commentsToExtend)
Remove the temporary directoryPath
toPath()
-
-
-
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 generatedcommentsToExtend
- can be null
-
-