@FunctionalInterface
public static interface TempDirectory.ParentDirProvider
ParentDirProvider
can be used to configure a custom parent
directory for all temporary directories created by the
TempDirectory
extension this is used with.RegisterExtension
,
TempDirectory.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
TempDirectory 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
TempDirectory
extension this is used with.java.lang.Exception