public class UnbindableDir extends Object
MultiBinding.Unbinder instance.| Modifier and Type | Class and Description |
|---|---|
protected static class |
UnbindableDir.UnbinderImpl |
| Modifier and Type | Method and Description |
|---|---|
static UnbindableDir |
create(FilePath workspace)
Creates a new, secure, directory under a base workspace temporary directory.
|
FilePath |
getDirPath() |
MultiBinding.Unbinder |
getUnbinder() |
public MultiBinding.Unbinder getUnbinder()
public FilePath getDirPath()
public static UnbindableDir create(@Nonnull FilePath workspace) throws IOException, InterruptedException
MultiBinding.Unbinder for deleting this directory later. This can only safely be used for binding
implementations for which BindingDescriptor.requiresWorkspace() is true.workspace - The workspace, can't be null (temporary dirs are created next to it)IOExceptionInterruptedExceptionCopyright © 2016–2021. All rights reserved.