public abstract class CredentialsSnapshotTaker<C extends Credentials> extends Object implements ExtensionPoint
CertificateCredentialsImpl
can use different keystores implementations
to hold the certificate. Calling snapshot(Credentials)
resolve the actual source into
a source like CertificateCredentialsImpl.UploadedKeyStoreSource
which is self contained.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CredentialsSnapshotTaker() |
Modifier and Type | Method and Description |
---|---|
abstract C |
snapshot(C credentials)
Create a self-contained version of this
Credentials that does not require access to any external files
or resources. |
abstract Class<C> |
type()
The type of credentials that this
CredentialsSnapshotTaker operates on. |
public abstract Class<C> type()
CredentialsSnapshotTaker
operates on.CredentialsSnapshotTaker
operates on.public abstract C snapshot(C credentials)
Credentials
that does not require access to any external files
or resources.credentials
- the credentialsCredentials
is already self-contained or a new identical
instance that is self-contained.Copyright © 2016–2021. All rights reserved.