Class Workspace
java.lang.Object
de.hsh.graja.transform.submission.Workspace
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspace
(Path parentDir, String subfolder, int maxJunitQuotaKibiBytes, ContentLogger commentsToExtend) Create a space limited temporary directory -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(boolean keepContent, ContentLogger commentsToExtend) Remove the temporary directorytoPath()
-
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
-
cleanup
Remove the temporary directory- Parameters:
keepContent
- if true, the temporary directory is unquotaed and only log messages are generatedcommentsToExtend
- can be null
-