|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<hudson.slaves.ComputerConnector>
hudson.slaves.ComputerConnector
hudson.plugins.sshslaves.SSHConnector
public class SSHConnector
ComputerConnector for SSHLauncher.
Significant code duplication between this and SSHLauncher because of the historical reason.
Newer plugins like this should define a separate Describable connection parameter class and have
connector and launcher share them.
| Nested Class Summary | |
|---|---|
static class |
SSHConnector.DescriptorImpl
|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
String |
javaPath
Field javaPath. |
hudson.tools.JDKInstaller |
jdkInstaller
Field jdk |
String |
jvmOptions
Field jvmOptions. |
hudson.util.Secret |
password
Deprecated. |
int |
port
Field port |
String |
prefixStartSlaveCmd
Field prefixStartSlaveCmd. |
String |
privatekey
Deprecated. |
String |
suffixStartSlaveCmd
Field suffixStartSlaveCmd. |
String |
username
Deprecated. |
| Constructor Summary | |
|---|---|
SSHConnector(int port,
com.cloudbees.jenkins.plugins.sshcredentials.SSHUser credentials,
String jvmOptions,
String javaPath,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
|
|
SSHConnector(int port,
com.cloudbees.jenkins.plugins.sshcredentials.SSHUser credentials,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath,
hudson.tools.JDKInstaller jdkInstaller,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
|
|
SSHConnector(int port,
String credentialsId,
String jvmOptions,
String javaPath,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
|
|
SSHConnector(int port,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath,
hudson.tools.JDKInstaller jdkInstaller,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
|
|
SSHConnector(int port,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
|
|
| Method Summary | |
|---|---|
com.cloudbees.jenkins.plugins.sshcredentials.SSHUser |
getCredentials()
|
String |
getCredentialsId()
|
SSHLauncher |
launch(String host,
hudson.model.TaskListener listener)
|
| Methods inherited from class hudson.slaves.ComputerConnector |
|---|
getDescriptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int port
@Deprecated public transient String username
@Deprecated public transient hudson.util.Secret password
@Deprecated public transient String privatekey
public final String jvmOptions
public final String javaPath
public final hudson.tools.JDKInstaller jdkInstaller
public final String prefixStartSlaveCmd
public final String suffixStartSlaveCmd
| Constructor Detail |
|---|
@DataBoundConstructor
public SSHConnector(int port,
String credentialsId,
String jvmOptions,
String javaPath,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
SSHLauncher.SSHLauncher(String, int, SSHUser, String, String, String, String)
public SSHConnector(int port,
com.cloudbees.jenkins.plugins.sshcredentials.SSHUser credentials,
String jvmOptions,
String javaPath,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
SSHLauncher.SSHLauncher(String, int, SSHUser, String, String, String, String)
public SSHConnector(int port,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
SSHLauncher.SSHLauncher(String, int, String, String, String, String, String, String, String)
public SSHConnector(int port,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath,
hudson.tools.JDKInstaller jdkInstaller,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
SSHLauncher.SSHLauncher(String, int, String,String,String, String, String, JDKInstaller, String, String)
public SSHConnector(int port,
com.cloudbees.jenkins.plugins.sshcredentials.SSHUser credentials,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath,
hudson.tools.JDKInstaller jdkInstaller,
String prefixStartSlaveCmd,
String suffixStartSlaveCmd)
SSHLauncher.SSHLauncher(String, int, SSHUser, String, String, JDKInstaller, String, String)| Method Detail |
|---|
public com.cloudbees.jenkins.plugins.sshcredentials.SSHUser getCredentials()
public String getCredentialsId()
public SSHLauncher launch(String host,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
launch in class hudson.slaves.ComputerConnectorIOException
InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||