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>
public static interface MultiBinding.Unbinder extends Serializable
Callback run at the end of a build.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
unbind(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Performs any needed cleanup.
-
-
-
Method Detail
-
unbind
void unbind(@NonNull Run<?,?> build, @Nullable FilePath workspace, @Nullable Launcher launcher, @NonNull TaskListener listener) throws IOException, InterruptedException
Performs 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
-
-