public static class BasicSSHUserPrivateKey.DirectEntryPrivateKeySource extends BasicSSHUserPrivateKey.PrivateKeySource implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicSSHUserPrivateKey.DirectEntryPrivateKeySource.DescriptorImpl
Descriptor for a
BasicSSHUserPrivateKey.PrivateKeySource |
| Constructor and Description |
|---|
DirectEntryPrivateKeySource(List<String> privateKeys) |
DirectEntryPrivateKeySource(hudson.util.Secret privateKey) |
DirectEntryPrivateKeySource(String privateKey) |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.Secret |
getPrivateKey()
Returns the private key.
|
List<String> |
getPrivateKeys()
Gets the private key from the source
|
boolean |
isSnapshotSource()
Returns
true if and only if the source is self contained. |
getPrivateKeysLastModifiedpublic DirectEntryPrivateKeySource(String privateKey)
@DataBoundConstructor public DirectEntryPrivateKeySource(hudson.util.Secret privateKey)
@NonNull public List<String> getPrivateKeys()
getPrivateKeys in class BasicSSHUserPrivateKey.PrivateKeySourcepublic hudson.util.Secret getPrivateKey()
public boolean isSnapshotSource()
true if and only if the source is self contained.isSnapshotSource in class BasicSSHUserPrivateKey.PrivateKeySourcetrue if and only if the source is self contained.Copyright © 2016–2020. All rights reserved.