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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
unbind
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Performs any needed cleanup.
-
Constructor Details
-
NullUnbinder
protected NullUnbinder()
-
-
Method Details
-
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.
-