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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidunbind(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.UnbinderPerforms any needed cleanup.- Specified by:
unbindin 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.
-