|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.rules.TemporaryFolder.Builder
public static class TemporaryFolder.Builder
Builds an instance of TemporaryFolder
.
Constructor Summary | |
---|---|
protected |
TemporaryFolder.Builder()
|
Method Summary | |
---|---|
TemporaryFolder.Builder |
assureDeletion()
Setting this flag assures that no resources are left undeleted. |
TemporaryFolder |
build()
Builds a TemporaryFolder instance using the values in this builder. |
TemporaryFolder.Builder |
parentFolder(File parentFolder)
Specifies which folder to use for creating temporary resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TemporaryFolder.Builder()
Method Detail |
---|
public TemporaryFolder.Builder parentFolder(File parentFolder)
null
then system default temporary-file directory is
used.
public TemporaryFolder.Builder assureDeletion()
AssertionError
.
public TemporaryFolder build()
TemporaryFolder
instance using the values in this builder.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |