Class BasicSSHUserPrivateKey.DirectEntryPrivateKeySource
java.lang.Object
hudson.model.AbstractDescribableImpl<BasicSSHUserPrivateKey.PrivateKeySource>
com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.PrivateKeySource
com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.DirectEntryPrivateKeySource
- All Implemented Interfaces:
 Describable<BasicSSHUserPrivateKey.PrivateKeySource>,Serializable
- Enclosing class:
 - BasicSSHUserPrivateKey
 
public static class BasicSSHUserPrivateKey.DirectEntryPrivateKeySource
extends BasicSSHUserPrivateKey.PrivateKeySource
implements Serializable
Let the user enter the key directly via copy & paste
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescriptor for aBasicSSHUserPrivateKey.PrivateKeySource - 
Constructor Summary
ConstructorsConstructorDescriptionDirectEntryPrivateKeySource(Secret privateKey) DirectEntryPrivateKeySource(String privateKey) DirectEntryPrivateKeySource(List<String> privateKeys)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns the private key.Gets the private key from the sourcebooleanReturnstrueif and only if the source is self contained.Methods inherited from class com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.PrivateKeySource
getPrivateKeysLastModifiedMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor 
- 
Constructor Details
- 
DirectEntryPrivateKeySource
 - 
DirectEntryPrivateKeySource
 - 
DirectEntryPrivateKeySource
 
 - 
 - 
Method Details
- 
getPrivateKeys
Gets the private key from the source- Specified by:
 getPrivateKeysin classBasicSSHUserPrivateKey.PrivateKeySource
 - 
getPrivateKey
Returns the private key.- Returns:
 - the private key.
 
 - 
isSnapshotSource
public boolean isSnapshotSource()Returnstrueif and only if the source is self contained.- Overrides:
 isSnapshotSourcein classBasicSSHUserPrivateKey.PrivateKeySource- Returns:
 trueif and only if the source is self contained.
 
 -