public static enum ServerKeyDatabase.Configuration.StrictHostKeyChecking extends Enum<ServerKeyDatabase.Configuration.StrictHostKeyChecking>
| Enum Constant and Description |
|---|
ACCEPT_ANY
"no", "off": always accept new or mismatched keys.
|
ACCEPT_NEW
"accept-new": accept new keys, but never accept modified keys.
|
ASK
"ask"; default: ask the user whether to accept (and store) a new
or mismatched key.
|
REQUIRE_MATCH
"yes", "on": never accept new or mismatched keys.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerKeyDatabase.Configuration.StrictHostKeyChecking |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerKeyDatabase.Configuration.StrictHostKeyChecking[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerKeyDatabase.Configuration.StrictHostKeyChecking ASK
public static final ServerKeyDatabase.Configuration.StrictHostKeyChecking REQUIRE_MATCH
public static final ServerKeyDatabase.Configuration.StrictHostKeyChecking ACCEPT_ANY
public static final ServerKeyDatabase.Configuration.StrictHostKeyChecking ACCEPT_NEW
public static ServerKeyDatabase.Configuration.StrictHostKeyChecking[] values()
for (ServerKeyDatabase.Configuration.StrictHostKeyChecking c : ServerKeyDatabase.Configuration.StrictHostKeyChecking.values()) System.out.println(c);
public static ServerKeyDatabase.Configuration.StrictHostKeyChecking 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 © 2020 Eclipse JGit Project. All rights reserved.