Interface MultiBinding.Unbinder
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
MultiBinding.NullUnbinder
,UnbindableDir.UnbinderImpl
- Enclosing class:
- MultiBinding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>
Callback run at the end of a build.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
unbind
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Performs any needed cleanup.
-
Method Details
-
unbind
void unbind(@NonNull Run<?, ?> build, @Nullable FilePath workspace, @Nullable Launcher launcher, @NonNull TaskListener listener) throws IOException, InterruptedExceptionPerforms any needed cleanup.- Parameters:
build
- The build. Cannot be nullworkspace
- The workspace - can be null ifBindingDescriptor.requiresWorkspace()
is false.launcher
- The launcher - can be null ifBindingDescriptor.requiresWorkspace()
is false.listener
- The task listener. Cannot be null.- Throws:
IOException
InterruptedException
-