@FunctionalInterface
public static interface TempDirectoryExtension.ParentDirProvider
ParentDirProvider
can be used to configure a custom parent
directory for all temporary directories created by the
TempDirectoryExtension
extension this is used with.RegisterExtension
,
TempDirectoryExtension.createInCustomDirectory(ParentDirProvider)
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
get(org.junit.jupiter.api.extension.ParameterContext parameterContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext)
Get the parent directory for all temporary directories created by the
TempDirectoryExtension extension this is used with. |
java.nio.file.Path get(org.junit.jupiter.api.extension.ParameterContext parameterContext, org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws java.lang.Exception
TempDirectoryExtension
extension this is used with.java.lang.Exception