|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hudson.test.TemporaryDirectoryAllocator
public class TemporaryDirectoryAllocator
Allocates temporary directories and cleans it up at the end.
| Constructor Summary | |
|---|---|
TemporaryDirectoryAllocator()
|
|
TemporaryDirectoryAllocator(java.io.File base)
|
|
| Method Summary | |
|---|---|
java.io.File |
allocate()
Allocates a new empty temporary directory and returns it. |
void |
dispose()
Deletes all allocated temporary directories. |
void |
disposeAsync()
Deletes all allocated temporary directories asynchronously. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemporaryDirectoryAllocator(java.io.File base)
public TemporaryDirectoryAllocator()
| Method Detail |
|---|
public java.io.File allocate()
throws java.io.IOException
TemporaryDirectoryAllocator gets disposed.
When this method returns, the directory already exists.
java.io.IOException
public void dispose()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedExceptionpublic void disposeAsync()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||