|
|||||||||
| 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.
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. |
String |
jvmOptions
Field jvmOptions. |
hudson.util.Secret |
password
Field password todo remove password once authentication is stored in the descriptor. |
int |
port
Field port |
String |
privatekey
File path of the private key. |
String |
username
Field username |
| Constructor Summary | |
|---|---|
SSHConnector(int port,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath)
Constructor SSHLauncher creates a new SSHLauncher instance. |
|
| Method Summary | |
|---|---|
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
public final String username
public final hudson.util.Secret password
public final String privatekey
public final String javaPath
public final String jvmOptions
| Constructor Detail |
|---|
@DataBoundConstructor
public SSHConnector(int port,
String username,
String password,
String privatekey,
String jvmOptions,
String javaPath)
port - The port to connect on.username - The username to connect as.password - The password to connect with.privatekey - The ssh privatekey to connect with.jvmOptions - jvm options.javaPath - optional path to java.| Method Detail |
|---|
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 | ||||||||