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
Constructors Constructor Description PrivateKeySource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract List<String>
getPrivateKeys()
Gets the private key from the sourcelong
getPrivateKeysLastModified()
Returns a revision count or a timestamp (in either case strictly increasing after changes to the private keys)boolean
isSnapshotSource()
Deprecated.no more used since FileOnMaster- and Users- PrivateKeySource are deprecated too-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getPrivateKeys
@NonNull public abstract List<String> 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 public boolean 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
-
-