public enum AccountType extends java.lang.Enum<AccountType>
| Enum Constant and Description |
|---|
ActiveDirectory
An Azure Active Directory account.
|
MicrosoftAccount
A Microsoft account.
|
| Modifier and Type | Method and Description |
|---|---|
static AccountType |
fromRepresentation(java.lang.String representation)
Gets an AccountType object from a string representation.
|
static AccountType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountType MicrosoftAccount
public static final AccountType ActiveDirectory
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType 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 nullpublic static AccountType fromRepresentation(java.lang.String representation)
representation - The shorthand string representation from the disambiguation service.