Package io.jenkins.docker.connector
Class DockerComputerSSHConnector.ManuallyConfiguredSSHKey
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<DockerComputerSSHConnector.SSHKeyStrategy>
-
- io.jenkins.docker.connector.DockerComputerSSHConnector.SSHKeyStrategy
-
- io.jenkins.docker.connector.DockerComputerSSHConnector.ManuallyConfiguredSSHKey
-
- All Implemented Interfaces:
Describable<DockerComputerSSHConnector.SSHKeyStrategy>
- Enclosing class:
- DockerComputerSSHConnector
public static class DockerComputerSSHConnector.ManuallyConfiguredSSHKey extends DockerComputerSSHConnector.SSHKeyStrategy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerComputerSSHConnector.ManuallyConfiguredSSHKey.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description ManuallyConfiguredSSHKey(String credentialsId, hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy sshHostKeyVerificationStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCredentialsId()
String
getInjectedKey()
hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy
getSshHostKeyVerificationStrategy()
ComputerLauncher
getSSHLauncher(InetSocketAddress address, DockerComputerSSHConnector connector)
String
getUser()
int
hashCode()
String
toString()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
ManuallyConfiguredSSHKey
@DataBoundConstructor public ManuallyConfiguredSSHKey(String credentialsId, hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy sshHostKeyVerificationStrategy)
-
-
Method Detail
-
getCredentialsId
public String getCredentialsId()
-
getUser
public String getUser()
- Specified by:
getUser
in classDockerComputerSSHConnector.SSHKeyStrategy
-
getSshHostKeyVerificationStrategy
public hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy getSshHostKeyVerificationStrategy()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classDockerComputerSSHConnector.SSHKeyStrategy
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classDockerComputerSSHConnector.SSHKeyStrategy
-
toString
public String toString()
- Specified by:
toString
in classDockerComputerSSHConnector.SSHKeyStrategy
-
getSSHLauncher
public ComputerLauncher getSSHLauncher(InetSocketAddress address, DockerComputerSSHConnector connector) throws IOException
- Specified by:
getSSHLauncher
in classDockerComputerSSHConnector.SSHKeyStrategy
- Throws:
IOException
-
getInjectedKey
public String getInjectedKey() throws IOException
- Specified by:
getInjectedKey
in classDockerComputerSSHConnector.SSHKeyStrategy
- Throws:
IOException
-
-