public class DockerSSHConnector
extends hudson.slaves.ComputerConnector
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DockerSSHConnector.DescriptorImpl  | 
| Constructor and Description | 
|---|
DockerSSHConnector(int port,
                  com.cloudbees.plugins.credentials.common.StandardUsernameCredentials credentials,
                  String credentialsId,
                  String jvmOptions,
                  String javaPath,
                  hudson.tools.JDKInstaller jdkInstaller,
                  String prefixStartSlaveCmd,
                  String suffixStartSlaveCmd,
                  Integer launchTimeoutSeconds,
                  Integer maxNumRetries,
                  Integer retryWaitTime,
                  hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy sshHostKeyVerificationStrategy)  | 
| Modifier and Type | Method and Description | 
|---|---|
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials | 
getCredentials()  | 
String | 
getCredentialsId()  | 
String | 
getJavaPath()  | 
hudson.tools.JDKInstaller | 
getJdkInstaller()  | 
String | 
getJvmOptions()  | 
Integer | 
getLaunchTimeoutSeconds()  | 
Integer | 
getMaxNumRetries()  | 
int | 
getPort()  | 
String | 
getPrefixStartSlaveCmd()  | 
Integer | 
getRetryWaitTime()  | 
hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy | 
getSshHostKeyVerificationStrategy()  | 
String | 
getSuffixStartSlaveCmd()  | 
hudson.plugins.sshslaves.SSHLauncher | 
launch(String host,
      hudson.model.TaskListener listener)  | 
protected Object | 
readResolve()  | 
void | 
setCredentials(com.cloudbees.plugins.credentials.common.StandardUsernameCredentials credentials)  | 
void | 
setCredentialsId(String credentialsId)  | 
@DataBoundConstructor
public DockerSSHConnector(int port,
                                                com.cloudbees.plugins.credentials.common.StandardUsernameCredentials credentials,
                                                String credentialsId,
                                                String jvmOptions,
                                                String javaPath,
                                                hudson.tools.JDKInstaller jdkInstaller,
                                                String prefixStartSlaveCmd,
                                                String suffixStartSlaveCmd,
                                                Integer launchTimeoutSeconds,
                                                Integer maxNumRetries,
                                                Integer retryWaitTime,
                                                hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy sshHostKeyVerificationStrategy)
public int getPort()
public String getCredentialsId()
public void setCredentialsId(String credentialsId)
public void setCredentials(com.cloudbees.plugins.credentials.common.StandardUsernameCredentials credentials)
public String getJvmOptions()
public String getJavaPath()
public hudson.tools.JDKInstaller getJdkInstaller()
public String getPrefixStartSlaveCmd()
public String getSuffixStartSlaveCmd()
public Integer getLaunchTimeoutSeconds()
public Integer getMaxNumRetries()
public Integer getRetryWaitTime()
public hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy getSshHostKeyVerificationStrategy()
@CheckForNull public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getCredentials()
public hudson.plugins.sshslaves.SSHLauncher launch(String host, hudson.model.TaskListener listener) throws IOException, InterruptedException
launch in class hudson.slaves.ComputerConnectorIOExceptionInterruptedExceptionprotected Object readResolve()
Copyright © 2016–2020. All rights reserved.