Class AbstractOnDiskBinding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>

Type Parameters:
C - a kind of credentials
All Implemented Interfaces:
ExtensionPoint, Describable<MultiBinding<C>>
Direct Known Subclasses:
FileBinding, ZipFileBinding

public abstract class AbstractOnDiskBinding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> extends Binding<C>
Base class for writing credentials to a file or directory, and binding its path to a single variable. Handles creation of a -rwx------ temporary directory, and its full deletion when unbinding, using UnbindableDir. This can only safely be used for binding implementations for which BindingDescriptor.requiresWorkspace() is true.