Package io.jenkins.docker.connector
Class DockerComputerSSHConnector.InjectSSHKey
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<DockerComputerSSHConnector.SSHKeyStrategy>
-
- io.jenkins.docker.connector.DockerComputerSSHConnector.SSHKeyStrategy
-
- io.jenkins.docker.connector.DockerComputerSSHConnector.InjectSSHKey
-
- All Implemented Interfaces:
Describable<DockerComputerSSHConnector.SSHKeyStrategy>
- Enclosing class:
- DockerComputerSSHConnector
public static class DockerComputerSSHConnector.InjectSSHKey extends DockerComputerSSHConnector.SSHKeyStrategy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerComputerSSHConnector.InjectSSHKey.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description InjectSSHKey(String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getInjectedKey()
ComputerLauncher
getSSHLauncher(InetSocketAddress address, DockerComputerSSHConnector connector)
String
getUser()
int
hashCode()
String
toString()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
InjectSSHKey
@DataBoundConstructor public InjectSSHKey(String user)
-
-
Method Detail
-
getUser
public String getUser()
- Specified by:
getUser
in classDockerComputerSSHConnector.SSHKeyStrategy
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classDockerComputerSSHConnector.SSHKeyStrategy
-
hashCode
public int hashCode()
- Specified by:
hashCode
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
-
-