Package org.junit.jupiter.api.support.io
Interface TempDirectory.ParentDirProvider
-
- Enclosing class:
- TempDirectory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface TempDirectory.ParentDirProvider
ParentDirProvider
can be used to configure a custom parent directory for all temporary directories created by theTempDirectory
extension this is used with.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Path
get(ParameterContext parameterContext, ExtensionContext extensionContext)
Get the parent directory for all temporary directories created by theTempDirectory
extension this is used with.
-
-
-
Method Detail
-
get
Path get(ParameterContext parameterContext, ExtensionContext extensionContext) throws Exception
Get the parent directory for all temporary directories created by theTempDirectory
extension this is used with.- Returns:
- the parent directory for all temporary directories; never
null
- Throws:
Exception
-
-