Class MultiBinding.NullUnbinder
- java.lang.Object
-
- org.jenkinsci.plugins.credentialsbinding.MultiBinding.NullUnbinder
-
- All Implemented Interfaces:
Serializable
,MultiBinding.Unbinder
- Enclosing class:
- MultiBinding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>
protected static final class MultiBinding.NullUnbinder extends Object implements MultiBinding.Unbinder
No-op callback.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NullUnbinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
unbind(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Performs any needed cleanup.
-
-
-
Method Detail
-
unbind
public void unbind(@NonNull Run<?,?> build, @Nullable FilePath workspace, @Nullable Launcher launcher, @NonNull TaskListener listener)
Description copied from interface:MultiBinding.Unbinder
Performs any needed cleanup.- Specified by:
unbind
in interfaceMultiBinding.Unbinder
- 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.
-
-