public enum AuthenticationMode extends Enum<AuthenticationMode>
SphereEnumeration.| Enum Constant and Description |
|---|
EXTERNAL_AUTH |
PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
String |
jsonValue() |
static AuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMode PASSWORD
public static final AuthenticationMode EXTERNAL_AUTH
public static AuthenticationMode[] values()
for (AuthenticationMode c : AuthenticationMode.values()) System.out.println(c);
public static AuthenticationMode 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 jsonValue()