Class TempPathResource
- java.lang.Object
-
- com.carrotsearch.randomizedtesting.TempPathResource
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class TempPathResource extends java.lang.Object implements java.io.Closeable
A temporary path resource will be deleted at the end of a given lifecycle phase.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.Path
location
-
Constructor Summary
Constructors Constructor Description TempPathResource(java.nio.file.Path location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-