Class BasicSSHUserPrivateKey.PrivateKeySource
java.lang.Object
hudson.model.AbstractDescribableImpl<BasicSSHUserPrivateKey.PrivateKeySource>
com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.PrivateKeySource
- All Implemented Interfaces:
Describable<BasicSSHUserPrivateKey.PrivateKeySource>
- Direct Known Subclasses:
BasicSSHUserPrivateKey.DirectEntryPrivateKeySource
,BasicSSHUserPrivateKey.FileOnMasterPrivateKeySource
,BasicSSHUserPrivateKey.UsersPrivateKeySource
- Enclosing class:
- BasicSSHUserPrivateKey
public abstract static class BasicSSHUserPrivateKey.PrivateKeySource
extends AbstractDescribableImpl<BasicSSHUserPrivateKey.PrivateKeySource>
A source of private keys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the private key from the sourcelong
Returns a revision count or a timestamp (in either case strictly increasing after changes to the private keys)boolean
Deprecated.no more used since FileOnMaster- and Users- PrivateKeySource are deprecated tooMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
PrivateKeySource
public PrivateKeySource()
-
-
Method Details
-
getPrivateKeys
Gets the private key from the source -
getPrivateKeysLastModified
public long getPrivateKeysLastModified()Returns a revision count or a timestamp (in either case strictly increasing after changes to the private keys)- Returns:
- a revision count or a timestamp.
- Since:
- 1.4
-
isSnapshotSource
Deprecated.no more used since FileOnMaster- and Users- PrivateKeySource are deprecated tooReturnstrue
if and only if the source is self contained.- Returns:
true
if and only if the source is self contained.- Since:
- 1.7
-