Class CertificateCredentialsImpl.KeyStoreSource
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<CertificateCredentialsImpl.KeyStoreSource>
-
- com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl.KeyStoreSource
-
- All Implemented Interfaces:
Describable<CertificateCredentialsImpl.KeyStoreSource>
- Direct Known Subclasses:
CertificateCredentialsImpl.FileOnMasterKeyStoreSource
,CertificateCredentialsImpl.UploadedKeyStoreSource
- Enclosing class:
- CertificateCredentialsImpl
public abstract static class CertificateCredentialsImpl.KeyStoreSource extends AbstractDescribableImpl<CertificateCredentialsImpl.KeyStoreSource>
Represents a source of aKeyStore
.
-
-
Constructor Summary
Constructors Constructor Description KeyStoreSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract byte[]
getKeyStoreBytes()
Returns thebyte[]
content of theKeyStore
.abstract long
getKeyStoreLastModified()
Returns aSystem.currentTimeMillis()
comparable timestamp of when the content was last modified.boolean
isSnapshotSource()
Deprecated.No longer need to distinguish snapshot sources.-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getKeyStoreBytes
@NonNull public abstract byte[] getKeyStoreBytes()
Returns thebyte[]
content of theKeyStore
.- Returns:
- the
byte[]
content of theKeyStore
.
-
getKeyStoreLastModified
public abstract long getKeyStoreLastModified()
Returns aSystem.currentTimeMillis()
comparable timestamp of when the content was last modified. Used to track refreshing theCertificateCredentialsImpl.keyStore
cache for sources that pull from an external source.- Returns:
- a
System.currentTimeMillis()
comparable timestamp of when the content was last modified.
-
isSnapshotSource
@Deprecated public boolean isSnapshotSource()
Deprecated.No longer need to distinguish snapshot sources.Returnstrue
if and only if the source is self contained.- Returns:
true
if and only if the source is self contained.- Since:
- 1.14
-
-