com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
Class SshConnectionFactory
java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionFactory
public abstract class SshConnectionFactory
- extends Object
Factory class for SshConnections.
- Author:
- Robert Sandell <robert.sandell@sonyericsson.com>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getConnection
public static SshConnection getConnection(String host,
int port,
Authentication authentication)
throws IOException
- Creates a
SshConnection.
- Parameters:
host - the host nameport - the portauthentication - the credentials
- Returns:
- a new connection.
- Throws:
IOException - if so.- See Also:
SshConnection,
SshConnectionImpl
Copyright © 2004-2012 Hudson. All Rights Reserved.