public static enum SSHAuthenticator.Mode extends Enum<SSHAuthenticator.Mode>
Enum Constant and Description |
---|
AFTER_CONNECT
This
SSHAuthenticator performs authentication after establishing the connection. |
BEFORE_CONNECT
This
SSHAuthenticator performs authentication before establishing the connection. |
Modifier and Type | Method and Description |
---|---|
static SSHAuthenticator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSHAuthenticator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSHAuthenticator.Mode BEFORE_CONNECT
SSHAuthenticator
performs authentication before establishing the connection.public static final SSHAuthenticator.Mode AFTER_CONNECT
SSHAuthenticator
performs authentication after establishing the connection.public static SSHAuthenticator.Mode[] values()
for (SSHAuthenticator.Mode c : SSHAuthenticator.Mode.values()) System.out.println(c);
public static SSHAuthenticator.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.