public enum SshConnectionType extends java.lang.Enum<SshConnectionType>
Enum Constant and Description |
---|
INTERACTIVE_SUDO
An SSH connection that uses SCP to transfer files, to a Unix host.
|
SCP
An SSH connection that uses SCP to transfer files, to a Unix host.
|
SFTP
An SSH connection that uses SFTP to transfer files, to a Unix host.
|
SFTP_CYGWIN
An SSH connection that uses SFTP to transfer files, to a Windows host running OpenSSH on Cygwin.
|
SFTP_WINSSHD
An SSH connection that uses SFTP to transfer files, to a Windows host running WinSSHD.
|
SUDO
An SSH connection that uses SCP to transfer files, to a Unix host.
|
TUNNEL
An SSH connection that is used for tunneling another connection through a 'jump station'.
|
Modifier and Type | Method and Description |
---|---|
static SshConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SshConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SshConnectionType SFTP
public static final SshConnectionType SFTP_CYGWIN
public static final SshConnectionType SFTP_WINSSHD
public static final SshConnectionType SCP
public static final SshConnectionType SUDO
public static final SshConnectionType INTERACTIVE_SUDO
public static final SshConnectionType TUNNEL
public static SshConnectionType[] values()
for (SshConnectionType c : SshConnectionType.values()) System.out.println(c);
public static SshConnectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null