public enum ConnectionExtension extends Enum<ConnectionExtension>
| Enum Constant and Description |
|---|
PASSWORD_OVERRIDE |
USERNAME_OVERRIDE |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionExtension |
fromString(String name) |
String |
getExtensionName() |
static ConnectionExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionExtension USERNAME_OVERRIDE
public static final ConnectionExtension PASSWORD_OVERRIDE
public static ConnectionExtension[] values()
for (ConnectionExtension c : ConnectionExtension.values()) System.out.println(c);
public static ConnectionExtension 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 nullpublic String getExtensionName()
public static ConnectionExtension fromString(String name)
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.