public enum RShellConnectionType extends java.lang.Enum<RShellConnectionType>
Enum Constant and Description |
---|
Ssh
Recommended more secure network protocol that encrypts data before sending and uses
a public key for authentication.
|
Telnet
Less secure network protocol that sends data in plain text without authentication.
|
Modifier and Type | Method and Description |
---|---|
static RShellConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RShellConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RShellConnectionType Telnet
public static final RShellConnectionType Ssh
public static RShellConnectionType[] values()
for (RShellConnectionType c : RShellConnectionType.values()) System.out.println(c);
public static RShellConnectionType 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